A tic-tac-toe game developed with Tkinter and the Minimax algorithm.
If Python has not been previously installed, run the following:
$ sudo apt install python3.9
$ python3.9 --version
If Homebrew has not been previously installed, follow the instructions listed here.
If Python has not been previously installed, run the following:
$ brew install [email protected]
$ python3.9 --version
Clone this repository:
$ git clone https://github.com/miaisakovic/tic-tac-toe.git
When asked to enter credentials, input your username and personal access token.
In this game, there are two players: player X (AI) and player O (you). The players alternate taking turns placing an X or O respectively in a three-by-three grid. The goal is to place three Xs or Os in a horizontal, vertical, or diagonal row. If all nine squares are filled and no players have won, there is a tie.
Each time you would like to play tic-tac-toe, run the following command:
$ python3.9 <relative path to main.py>