C++ library for AI bot programming.
- Specify game rules by subclassing
State
andMove
. - Choose AI algorithm (
Minimax
orMonteCarloTreeSearch
) or play by yourself (Human
). - Read the state and output the move. For local, statistically significant tests, use
Tester
.
- Minimax (negamax variant) with alpha-beta pruning, iterative deepening, transposition table.
- Monte Carlo tree search with UCT.
- Tic Tac Toe - game rules, code example.
- Isola - game rules, code example.
- Connect Four - game rules, code example.
- Correctness.
- Compliance with environment typical for competitions. One file submission, compiled with one invocation of
g++
. - Performance.
Suggestions welcome on Issues. Pull requests are also awesome.
I'm transferring £50 to anybody who submits successful bug report.