This is a project of implementing aritificial intelligence in the classic game of TicTacToe. This project was made using python and pygame. The AI algorithm used for the AI in this project was MiniMax. You can play this game as '❎' as well as '
🟢 This AI is cannot be defeated in TicTacToe! The match will result in either a tie or the user losing to the AI.
OPEN CHALLENGE: Try to defeat my AI, If you manage to do so, take a screenshot of it and tag me on my instagram: @manavmehta.official
I have made the source code available to all. runner.py
contains the code for the pygame UI and tictactoe.py
contains the code for the AI algorithm. The code is free to use for everyone.
AI algorithm was implemented by ManavMehta-Official
and the pygame UI was made by cs50ai.
This project was given by cs50ai.