Tic-Tac-Toe is a simple and fun game application that can be played (offline / online) two players, build in python3.
- The goal of the game is to make a horizontal, vertical, or diagonal line of three marks of your own symbol (X or O) on a 3x3 grid.
- The game ends when one player wins or the grid is full and there is no winner.
- Three modes: AI vs Player, Player vs Player, and Online Multiplayer
- Customizable themes (2+) and colors (3+)
- Ester Egg (if you can find it!)
tictactoe.mp4
If you want to play Tic-Tac-Toe on your Windows device, you can download the tictactoe_v1.exe
file from HERE (OR get it from latest releases). This is a standalone executable file that does not require Python to run. Just double-click on it and enjoy the game!
If you want to play Tic-Tac-Toe on any device that can run Python, you can download the tictactoe_v1.py
file from HERE (OR get it from latest releases). This is the code for the game that you can run with python tictactoe_v1.py
; (for requirements.txt
check dev_note.md
file).
You can choose one of the available modes from the settings menu:
- In this mode, you can play against the computer with different difficulty levels. You can choose between easy or hard level depending on your skill and preference. The computer will make its moves automatically after you make yours. To make a move, simply tap on an empty square on the grid.
- In this mode, you can play with another person on the same device. You need to take turns placing Xs and Os on the grid until one of you wins or the grid is full. The first player plays as X and the second player plays as O . To make a move, simply tap on an empty square on the grid.
- In this mode, you can play with another person online over the internet. You need an internet connection to join or create a game room.
You can also customize your gaming experience by choosing one of the available themes and colors from the settings menu:
- You can choose between
system theme
(which matches your device's theme),light theme
(which has a white background), ordark theme
(which has a black background) for your game screen.
- You can choose between
Blue
,Dark-Blue
orGreen
color for your symbols and the grid lines.