The classic Tic Tac Toe Game (XO Game) is based on Python using GUI Tkinter to make the interface of the game.
I developed it as a project in The Front End Diploma at the Almdrasa platform.
Our Tic Tac Toe game features a user-friendly interface with attractive colors, created using the tkinter GUI library. Before starting the game, you can choose from the following options:
- Who will play first (you or the computer)?
- The computer's intelligence level (low or high).
If you select the low intelligence level, the computer will choose random fields to fill. However, if you select the high intelligence level, the computer will make strategic choices based on an analysis of the current game state and your moves.
We developed our own computer intelligence algorithms using conditional statements.
You can also view both your score and the computer's score.
You can use our Tic Tac Toe Python script (.py file) to play the game by running it in a Python interpreter. Additionally, you can use it as a reference to create your own Tic Tac Toe game (XO Game) in Python.
Alternatively, you can try our executable file (.exe) to run the game directly without the need to use a Python interpreter.
In our Python-based Tic Tac Toe game, we did not use any third-party modules. We only utilized the tkinter and random modules, both of which are included with Python by default.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project is licensed under the MIT License - see the LICENSE file for details.





