Bomberman
Overview
For our mini project, we made a simple bomberman game, played by a single player, using a uLCD, and a serial port. First, an input signal will be sent from the computer to the serial port. Then, the received signal from serial port will be send out to mbed so that a player can control the movement of the bomberman using specific letters of the keyboard. The game will start when the player presses 's' on the keyboard. The main purpose of the game is to eliminate the bad guys, which will be represented with red dots. The bomberman, which will be represented with a green dot, will move left, right, up, down, and create a bomb when the player presses A,D,W,S, and space ,respectively, on the keyboard and will not move when nothing is pressed. The bombs that are created will have the dimension of 3 blocks, both horizontally and vertically. When the bad guys are 'hit' with the bomb, they will be deleted off the screen and the game will continue until all the bad guys are terminated. When the game is over, the player can press esc if wish to reset and play again.
This is the picture of the circuit that was built for the game.
This video illustrates how the game is played.
Components
Circuits
uLCD Connections
mbed | uLCD |
---|---|
Vu | 5V |
Rx(p10) | Tx |
Tx(p9) | Rx |
p11 | Reset |
Program
Import programBomberman
Modified Bomberman Game in mbed
Please log in to post comments.