AI Neural Networks on Tic Tac Toe

This project research how to apply Neural Netowks AI to the Tic Tac Toe game. I used 18 unput neurons and one output neuron. The idea is that the game will generate all the posible configuration where the player can move(are maxim 9 posible moves ) The network will output a value for each this configurations and the config with the largest score will be used.
The training uses some data colected from a table of data generated by other AI that uses some deterministic logic. That logic algorithm is implemented using C# and it is an other AI that uses a table (that is generated gy the logic AI games))

So ths project has some AIs

  • AI with neural networks
  • AI using logic
  • AI that uses a table with scores


The AI using Neural Networks is not suited for this problem. It learned to make some good moves but not enough to win or to put a real problem to the logic AI.

Development details

This application uses C# and Windows Forms