A simple game of Tic-Tac-Toe with a text-based GUI in Python. The project can serve as a fun game and as an example of the usefulness of dictionaries in python. The objective of the game is to match 3 boxes in a row. This can be done horizontally, vertically, or diagonally. It is meant to be played with 2 players.
The only prerequisite to run this is to have python installed. We can check if python is installed using either of the following commands:
python --version
python3 --version
If python is not installed, then this can easily be done using the installer found on https://www.python.org/downloads/
You can also install it via the command line on Windows/Mac OS/Linux using the following command:
$ sudo apt-get update
$ sudo apt-get install python3.9
To run the game, navigate to the file's directory and run the following command:
python TicTacToe.py