This is a Chinese Checkers game that Eric coded up for Russ as it is one of Russ's favorite games to play at home. An explanation of the rules is included below the game.
To play, simply click on the pin that you would like to move and then click on the grey spot corresponding to a valid move. Players switch off making moves until one of them wins.
The rules to this game are as follows: Player 1 (in blue) starts by selecting a pin (one of the blue circles). Then player 1 can move this pin diagonally one space or jump any other pin as shown here:
Players can jump successively as many times as they like and over either player's pins, as shown here:
To win, a player must put all of their pins in the other player's starting position, as shown here where player 1 wins:
This coding project is specifically MVC based and was a good platform for me (Eric) to understand why developers for games and apps prefer the MVC framework. Using it creates a separation between the three main elements of the code and allows the developer to easily make changes to any without interfering with the others.
Future endeavors for this project begin with making the computer player better. At the moment, the method of choosing which pin to move is quite simplistic. Eventually, I may pit two computer players against each other and train them through reinforcement learning.