Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Tic Tac Toe

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.

How to launch

first you need to install numpy:
pip install -r requirements.txt
then you can directly launch the main script:
python main.py

good luck :)

Game Sample

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

Start

first move

first-move

winner

winner