Tic Tac Toe is a popular 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 diagonal, horizontal, or vertical row is the winner.
For more information about the the game, check here.
The game was implemented in Python, using Numpy library.
first you need to install numpy:
pip install -r requirements.txt
then you can directly launch the main script:
python main.py
good luck :)
each play, in turn, will choose one of the available positions by entering the corresponding number. Numbers are 0-8 from going from top-left to bottom-right corner.
start
first move
winner