ECE 4180 Single Player Space Invaders Team


This team is for our ECE 4180 project in which we make Single Player Space Invaders

Single Player Space Invaders

Project Members: Brice Minix , Tito Oyewole

Overview

This project is a version of the Nokia space invaders with the following features:

  1. joystick/ IMU: used to browse through the game menu and control the ship. Clicking the joystick also changes the color of the player.
  2. pushbutton: used to select an option on the menu screen and shoot sprites at the rows of enemies.
  3. Speakers: plays music that is in sync with the game (some examples include: victory/losing sound, game menu sound, sprite fired sound e.t.c)
  4. Levels: In the first level, the player has three lives; in the second level, the player has two lives, and in the third level, the player has one life.
  5. LED lighting effect: These effects are triggered once the game starts (i.e., at the game menu screen), when the player fires a shot, during a victory e.t.c
  6. Barriers: four barriers shields the player from the enemy missiles. These barriers break down once they have been hit by a missile or by the player.
  7. Best Time: This version of space invaders also keeps track of the best time i.e., the fastest time in which the game is completed.

Components Used

  1. mbed
  2. uLCD
  3. Pushbutton
  4. LSM9DS1 IMU
  5. RGBLED
  6. Joystick
  7. SDCard
  8. Speaker
  9. class D audio amp

Wiring

mbedSpeakerClass D audio ampuLCD headerPushbuttonRGBLEDIMUJoystickSDCard
GNDpwr -GND-GNDGNDGNDGND
Vout(3.3V)pwr +VDDVCCVCC
p18in +
+out +
-out -
VU = 5V5V (External)
TX = p28RX
RX = p27TX
p29Reset
p20+
p21Red
p22Blue
p23Green
p9SDA
p10SCL
p15VERT
p16HORZ
p17SEL
p8CS
p5DI
p7SCK
p6DO
CD

Demo Program

Demo Video


All wikipages