Tic tac toe game that can be played by 1 or 2 players
The board game is constituted of 9 boxes
1|2|3
4|5|6
7|8|9
Press the corresponding number on your keyboard to place the token.
It is not allowed to play where another player already played.
The code is implemented without loops as part of a constraint to use recursive functions.
This folder is dedicated to the User Interface of the game made using the python library Pygame.
It is intended to be played by 1 player against an Artificial Intelligence.
The AI has been implemented using the minimax algorithm.
This project has been created in order to experiment with sockets.
- Run tic_server.py
- Run tic_client.py twice, one for each player
- Enjoy the game
Remember to install the required libraried contained in the requirements.txt file