Finished the game

Dependencies:   mbed

Welcome to Snake

See that the LCD is on and press start to play

The snake is in the middle of the screen, move the analogue up, down, right, left to move the snake in those directions. Note that snake doesn't travel diagonally.

Move the snake to get as much food as possible, there is plenty of food as you will find out

Beware, snake will die if you run its head into the walls, or into its body

Take care to keep moving snake fast, its body will catch up with its head and cause it to die!!!!!!

Have fun, and get that snake as long as possible :)

Committer:
eencae
Date:
Mon Feb 03 14:26:29 2020 +0000
Revision:
0:b7f1f47bb26a
Child:
1:bdafa20e71a0
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