Tic Tac Toe is is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.
Find the demo video here
MinMax approach to find optimal move using Brute Force instead of utilizing dataset that can be tricked into.
1. Clone the repository to your directory:
git clone -https://github.com/deepme987/TicTacToe.git
2. Ensure you've the required libraries:
To check, type pip freeze
in cmd and look for PyQt5==5.12.3
(version may vary)
If you don't find it, install it with pip:
pip install PyQt5
3. Once everything is ready, launch the game using:
python Tic-Tac-Toe.py