I recently came accross Gambit - http://www.gambit-project.org/doc/index.html - a C++ algorithmic game theory API.
Is anyone aware of a .NET Game Theory Library?
I recently came accross Gambit - http://www.gambit-project.org/doc/index.html - a C++ algorithmic game theory API.
Is anyone aware of a .NET Game Theory Library?
I know this would take a small bit of time, but you could download the source for the C++ project you cited and compile it into a DLL that you could reference in your C# project. This link contains information about doing so.
I don't know of any existing library.
The minimax algorithm is pretty easy to implement if you are doing a 2 player game. The following pseudocode is plagiarised from the wiki page:
If you are doing more than 2 players, then there is Sturtevant and Korf's MaxN algorithm.
I've implemented these before, and they are pretty easy. It should be very straightforward in .Net.