This is the source code for my student project in artificial intelligence.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
include
libMac
src
Makefile
README.md

README.md

TicTacToe

Description

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.

compiling

This project use the engine library define at

- https://github.com/memo-p/libGraph

once you have put your lib file in the good directory. just use:

- make 
- make run

Uses

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.