Marble Kombat is a 2D puzzle game for the Keil MCB 1700 board, where the player takes the role of a cannon fighting off a train of incoming marbles. The game will utilize the various peripheral devices on the Keil board as inputs, and it will render the graphics on the board’s LCD display.
The game will put the player in third-person bird’s-eye view of a cannon which shoots coloured marbles at an incoming train of marbles. The player must prevent the train from reaching the end of the track, and the game will end if that happens. Marbles fired at the train will attach to it and become part of it. Matching three or more marbles of the same color in a row will destroy them. The marble at the very rear of the train is the “conductor”, and is the only marble that moves independently. All other marbles only move when in contact with another moving marble, all the way back to the conductor. In addition, the player will have access to one spare marble, which can be swapped with the currently chambered marble if so desired.
Marble Kombat will involve the use of four peripherals of the Keil MCB 1700 board as follows: Joystick, potentiometer, push button, and LEDs. The uses of each are outlined below:
The program will involve 3 main concurrent tasks, as well as initialization code and ISRs. The main concurrent tasks used are as follows: