Skip to content

fiveman1/PoolGenius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoolGenius

Requirements: pygame and Box2D

This repository contains a 2D pool engine designed using the Box2D library, graphics and visualization support for said engine using pygame, and an AI capable of playing pool using the engine. The engine is designed specifically for eight ball pool, however it would be possible to modify it to support other variations of pool.

To run the simulation and see the AI, you can clone the repo and then run src/pool.py

cd src
python3 pool.py

Logs will get created each run and automatically be placed in the logs directory.

A settings file (settings.json) is created in the src directory. Currently it can be used to customize the screen width.

Video demonstration of the AI and engine.

A game in progress: Pool

About

2D Pool engine and AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages