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:
el18jgb
Date:
Sun May 24 11:24:57 2020 +0000
Revision:
23:0e8155320571
Parent:
18:c600a6545e81
Final Submission. I have read and agreed with Statement of Academic Integrity.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el18jgb 18:c600a6545e81 1 /* SD/MMC File System Library
el18jgb 18:c600a6545e81 2 * Copyright (c) 2016 Neil Thiessen
el18jgb 18:c600a6545e81 3 *
el18jgb 18:c600a6545e81 4 * Licensed under the Apache License, Version 2.0 (the "License");
el18jgb 18:c600a6545e81 5 * you may not use this file except in compliance with the License.
el18jgb 18:c600a6545e81 6 * You may obtain a copy of the License at
el18jgb 18:c600a6545e81 7 *
el18jgb 18:c600a6545e81 8 * http://www.apache.org/licenses/LICENSE-2.0
el18jgb 18:c600a6545e81 9 *
el18jgb 18:c600a6545e81 10 * Unless required by applicable law or agreed to in writing, software
el18jgb 18:c600a6545e81 11 * distributed under the License is distributed on an "AS IS" BASIS,
el18jgb 18:c600a6545e81 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
el18jgb 18:c600a6545e81 13 * See the License for the specific language governing permissions and
el18jgb 18:c600a6545e81 14 * limitations under the License.
el18jgb 18:c600a6545e81 15 */
el18jgb 18:c600a6545e81 16
el18jgb 18:c600a6545e81 17 #ifndef SD_CRC_H
el18jgb 18:c600a6545e81 18 #define SD_CRC_H
el18jgb 18:c600a6545e81 19
el18jgb 18:c600a6545e81 20 #include "mbed.h"
el18jgb 18:c600a6545e81 21
el18jgb 18:c600a6545e81 22 namespace SDCRC
el18jgb 18:c600a6545e81 23 {
el18jgb 18:c600a6545e81 24
el18jgb 18:c600a6545e81 25 char crc7(const char* data, int length);
el18jgb 18:c600a6545e81 26 unsigned short crc16(const char* data, int length);
el18jgb 18:c600a6545e81 27
el18jgb 18:c600a6545e81 28 }
el18jgb 18:c600a6545e81 29
el18jgb 18:c600a6545e81 30 #endif