Four-Play with simple AI
I've applied the classic minimax search to Four-Play, and I'm pleased with the results. The program will anticipate any traps within 7 moves and act accordingly. I was concerned that it might take a long time to search 7 moves ahead, but it turned out not to be too bad.The AI is not terribly difficult to beat at this point because the heuristics are simple. The search just checks whether there is a winning position or not. The next step will be to apply some more sophisticated heuristics, and then the game should be challenging.At the present time, you can only play red, and the Atari plays blue. Have fun!
9 Comments
Recommended Comments