Based on the game Gobblet Gobblers: https://themindcafe.com.sg/wp-content/uploads/2018/07/Gobblet-Gobblers.pdf
A short video introduction to this project is available here: https://youtu.be/0lpivm_qItg
My version of Gobblers has six unique piece sizes, whereas the traditional version only has 3.
- logic.py: contains a Game object that tracks the game state and logic
- cli.py: playable version of the game at the command line interface. Can be played human vs human, human vs bot and bot vs bot
- gui.py: playable version of the game with a graphical user interface. Human players only. Requires OpenCV
- tests.py: some unit tests written with the unittest module
- app.py: uses Flask and Jinja to run the game in a browser locally
- added app.py to run the game in a browser via Flask
- added index.html as the homepage of the game
- added play.html as the UI for an online playable version of the game
- added stats.html to show some game stats at the end of each game
- added styles.css to add styling to the aforementioned html pages
- In logic.py, GameStats class was added to keep track of statistics
- In gui.py, several methods were added to Board class to generate charts from statistics generated by GameStats class
- Pandas and Matplotlib are used to handle stats and produce charts. The final GUI is generated with OpenCV
- Run gui.py to see the results