Joe Body 201215898

Dependencies:   mbed

Navigation

  • From the Main Menu the A button will take you into one of the play, highscore or instructions options.
  • The B button will return you to the Main Menu from either the highscore or instruction screens, though this is prompted on screen.
  • When in the Main Menu Pot1 can be used to adjust the contrast and the volume control by the speaker is active.
  • When the game is over the B button can be used to return to the Main Menu, again this is prompted.
  • To return to the Main Menu while the game is being played the reset button must be pressed, this will not save your score or anything about the game.

In Game

  • While in the game the A button is used to shoot while you aim with the Joystick.
  • You have control over the cross while the objective of the game is to rack up as many points shooting the moving head.
  • There is a slight reload time on each shot so you are unable to spam A if you miss.
  • Once you miss 6 times the game will end and your score will be saved.
  • When hit by a falling spike the game will transition and the head will vanish.
  • 4 new spikes will spawn which you need to avoid, being hit by 1 of these will decrease your remaining miss chances by 5.
  • When the game is in this state you must avoid these spikes by tilting the device, the Joystick will have no effect.
  • The head will move progressively faster as the game goes on, make use of the clock power up by shooting it when it appears, this will slow the head down to a more manageable level hopefully helping you to reach a higher score.

Highscore

  • If you have a SD card inserted into the device the game can save your highest score.
  • A decent score is somewhere around 25.
Committer:
eencae
Date:
Mon Feb 03 14:26:29 2020 +0000
Revision:
0:b7f1f47bb26a
Child:
1:1144f48b5965
ELEC2645 starter project

Who changed what in which revision?

UserRevisionLine numberNew contents of line
eencae 0:b7f1f47bb26a 1 /*
eencae 0:b7f1f47bb26a 2 ELEC2645 Embedded Systems Project
eencae 0:b7f1f47bb26a 3 School of Electronic & Electrical Engineering
eencae 0:b7f1f47bb26a 4 University of Leeds
eencae 0:b7f1f47bb26a 5 2019/20
eencae 0:b7f1f47bb26a 6
eencae 0:b7f1f47bb26a 7 Name:
eencae 0:b7f1f47bb26a 8 Username:
eencae 0:b7f1f47bb26a 9 Student ID Number:
eencae 0:b7f1f47bb26a 10 Date:
eencae 0:b7f1f47bb26a 11 */
eencae 0:b7f1f47bb26a 12
eencae 0:b7f1f47bb26a 13 // includes
eencae 0:b7f1f47bb26a 14 #include "mbed.h"
eencae 0:b7f1f47bb26a 15 #include "Gamepad.h"
eencae 0:b7f1f47bb26a 16 #include "N5110.h"
eencae 0:b7f1f47bb26a 17
eencae 0:b7f1f47bb26a 18
eencae 0:b7f1f47bb26a 19 // objects
eencae 0:b7f1f47bb26a 20 Gamepad pad;
eencae 0:b7f1f47bb26a 21 N5110 lcd;
eencae 0:b7f1f47bb26a 22
eencae 0:b7f1f47bb26a 23 int main()
eencae 0:b7f1f47bb26a 24 {
eencae 0:b7f1f47bb26a 25
eencae 0:b7f1f47bb26a 26 }
eencae 0:b7f1f47bb26a 27