The TicTacToe source code can be used as a start for an AI project. The students have to create class that inherite from the AI class and override the play function.
This project use the engine library define at
once you have put your lib file in the good directory. just use:
- make - make run
For using this project, You need to create a TicTacToe game via the class Morpion:
- Morpion(IA* p1,IA* p2,int size_ = 3, int victorySize_ = 3);
An example of a simple IA wich only choose the first empty square.