Skip to content

"Connect four", the game implemented in python with a dash GUI

License

Notifications You must be signed in to change notification settings

Dronakurl/connectfour

Repository files navigation

Connect four

Connect four - the game - implemented in python and dash.
Connect four is a simple combinatory puzzle board game.

The project features:

  • dash web app to play the game, using the Skeleton CSS framework
  • class for the actual game play (moves, store the status, etc)
  • class for a simple heuristic computer enemy. It calculates all possible 2-5 next moves and chooses the most valuable outcome

Installation

The package requirements are found in requirements.txt (in a virtual environment):

pip install -r requirements.txt

Start the web server which runs dash with:

gunicorn app:app -b :8000

The development/debug server starts with:

python app.py

Future Features:

  • Machine Learning enemy. That was the whole point of this project