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 :)

History

Final Submission. I have read and agreed with Statement of Academic Integrity; Lee Geer default tip

2020-06-05, by el18lg [Fri, 05 Jun 2020 21:21:49 +0000] rev 12

Final Submission. I have read and agreed with Statement of Academic Integrity; Lee Geer


Final Submission. I have read and agreed with Statement of Academic Integrity.

2020-06-05, by el18lg [Fri, 05 Jun 2020 12:51:30 +0000] rev 11

Final Submission. I have read and agreed with Statement of Academic Integrity.


Finsished game

2020-06-04, by el18lg [Thu, 04 Jun 2020 19:38:47 +0000] rev 10

Finsished game


Game complete;

2020-06-04, by el18lg [Thu, 04 Jun 2020 18:47:58 +0000] rev 9

Game complete;


I have included a collison function that if the snake collides with itself or the outskirts of the map then all leds will turn on. I will now include game over to end the game;

2020-05-31, by el18lg [Sun, 31 May 2020 16:06:31 +0000] rev 8

I have included a collison function that if the snake collides with itself or the outskirts of the map then all leds will turn on. I will now include game over to end the game;


When snake eats food, food now relocates in a different position and snake body increase by one;

2020-05-31, by el18lg [Sun, 31 May 2020 14:12:45 +0000] rev 7

When snake eats food, food now relocates in a different position and snake body increase by one;


Snake body now follows the head of my snake;

2020-05-28, by el18lg [Thu, 28 May 2020 22:56:46 +0000] rev 6

Snake body now follows the head of my snake;


Tail is complete for now, need to build food class and implement it with the rest of my classes;

2020-05-28, by el18lg [Thu, 28 May 2020 16:29:55 +0000] rev 5

Tail is complete for now, need to build food class and implement it with the rest of my classes;


Started to do the body of the snake

2020-05-27, by el18lg [Wed, 27 May 2020 20:57:21 +0000] rev 4

Started to do the body of the snake


Snake movement;

2020-05-27, by el18lg [Wed, 27 May 2020 16:14:56 +0000] rev 3

Snake movement;