Several programming assignments will revolve around creating a 2 player and ultimately a computer that can play the game Upthrust. This is a now-defunct game that was once produced as a board game. You can read about it and see pictures at Boardgame Geek: https://boardgamegeek.com/boardgame/2731/upthrust. It is not necessary to purchase, but if you feel so inclined there are some versions on ebay.
Game Rules
The game consists of a playing board with four columns and 11 rows that form a grid. The top six rows of the grid are scoring rows. Pieces are played in the spaces within the grid. There are four pieces of four colors (Green, Red, Blue, Yellow) that are initially placed on the board in prespecified locations.
In the two player game, each player initially picks two random colors and one player is selected to move first. Players alternate turns, and on each turn that player may move any piece that is one of the selected colors.
The initial state of the board is shown below.
60 . . . . 40 . . . . 30 . . . . 20 . . . . 10 . . . . . . . . . . . . G R B Y R B Y G B Y G R Y G R BRules of Play
On a turn, a player moves one of his/her pieces straight up the board -- always staying in its column. The movement is governed by the following rules:
The game ends when: