Skip to content

arthaud/min-max

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Min-Max

A generic C++ implementation of the min-max algorithm for game theory.

This is provided as a single header file in include/min-max/MinMax.h. This can be used for any 2-player game by implementing the State abstract class. An example with the Tic Tac Toe game is provided in source/TicTacToe.cpp.

To play against the min-max AI:

$ make
$ ./tictactoe

About

Min-max algorithm for game theory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published