Skip to content

The project enable to play Tic-Tac-Toe with some statistics about the possible ends of the game.

License

Notifications You must be signed in to change notification settings

adebiasi/TicTacToeStrategy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToeStrategy

The project enable to play Tic-Tac-Toe with some statistics about the possible ends of the game. The information of all the possible ends were computed using python script extractStats.py. The generated actions.json file is parsed and used to visualize the statistics during the game in p5js.

It's possible to see statistics of win and tie based on the following assumptions:

  • No assumptions about the opponents strategy
  • The opponents will choose the best move to WIN
  • The opponents will choose the best move not to LOSE (WIN or TIE)

Try it

You can try the game with statistics here: https://adebiasi.github.io/TicTacToeStrategy/

Screenshots

A game situation with the statistics about different assumptions.

No assumptions Win assumption Win or tie assumption

ToDo next

About

The project enable to play Tic-Tac-Toe with some statistics about the possible ends of the game.

Topics

Resources

License

Stars

Watchers

Forks