This program was created for Intro to Gameplay Programming. The assignment was to create AI for a Checkers.
Checkers is a two-player zero-sum game, so I chose to implement a Minimax algorithm to govern the AI opponent’s decisions. Before each move, the algorithm generates a heuristics-based score for a series of potential moves, and then chooses the best one.
Once I got that working, I added some more fun features. The players have the ability to toggle AI on and off for either player, making it possible for human players to pick up or put down the game whenever they want, and just have the computer take over for them the rest of the time. I also did some animation to show the computer player’s hand icon picking up the pieces and moving them to give the computer a more human feel.
