setup:
-
clone repo
-
set up virtual env outside of repo
-
pip install flit
-
flit install blokus -s
-
create your own branch
-
add a bot to the bot files tidy code:
- black .
- isort ./src
PIECES
- validate that all pieces and variations are possible
BOARD
- add in method of generating all valid moves
- add in final validation methods
- add in display
- validate that pieces can be place
(Potentially the validations should be covered by tests)
GAME
- create class
- method of recieving players
- Tracking turns and asking players to nake moves (local)
- time out on moves
- checking if API player and setting up server
- asking API player for move
- display game, display entire game
PLAYERS
- set up base class
- set up simple house bots