This is a classic Tic Tac Toe game with an AI Player. The AI player is implemented using the well known minimax algorithm from game theory. It includes a GUI, as well as a text based version.
Run main.py to play "Tic Tac Toe". If you prefer to check out the CMD version, just run main with the cmd_game_flow() function instead.
Game flow - click the box you want to place your shape in. Currently, the window closes right after the game ends (i.e - after the AI wins or a TIE).
You can play against a friend or against an AI player, just update the game flow parameters accordingly.
python 3
pygame