My colleague has developed a totally new game on a hexagonal board. At the moment, the only one game set is available. While he together with his friends is perfecting their skills, we would like to create an implementation of this game for PC. I suggested that we use my implementation of the Minimax algorithm. To demonstrate its simplicity and flexibility, I created an Ataxx clone slightly modifying my Reversy game.
You can find the source code of the application here. However, for a start, I recommend you to distinguish between the Reversy and Ataxx implementations. The first difference is that I do not calculate the weights of the pieces on the Ataxx board by default. The second difference is that the move consists of two phases: choosing the piece and choosing its new position. Although the calculation depth for the Ataxx game is 2, I cannot win this algorithm.
Hopefully, I'll find some time to clear up the source code of the game.