Where X aims to maximise the score and O aims to minimise the score
There are two main files in this project: runner.py
and tictactoe.py
. tictactoe.py
contains all of the logic for playing the game, and for making optimal moves.
runner.py
contains all of the code to run the graphical interface for the game whilst tictactoe.py
contains all tge logic for the game,
you should be able to run python runner.py to play against your AI.
run pip3 install -r requirements.txt
to install the required Python package (pygame) for this project.
The you can start playing my running python3 run runner.py