ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18s2a_2

Dependencies:   mbed

Revisions of main.cpp

Revision Date Message Actions
21:e8d66c5f68cc 2020-06-05 Final Submission. I have read and agreed with Statement of Academic Integrity. File  Diff  Annotate
17:4b2a105cdfd8 2020-06-05 Docs File  Diff  Annotate
14:8d12bc972cb1 2020-06-05 Documentation; File  Diff  Annotate
13:c20acb3b1adf 2020-06-05 Tried to get the eat function to detect when the snake collides with the apple and it would flash the green LEDs and increase the score and respawn the apple but haven't managed to get it to work. Commiting due to time to go back if needed. File  Diff  Annotate
12:8eb40a18f15d 2020-06-05 Commented out the safe wall and added the wall of death that kills the snake on touch. When the snake dies the game ends and the score is still displayed with instructions how to the restart the game. The LEDs turn to flashing red! File  Diff  Annotate
10:3e37b58e8600 2020-06-05 Got movement of the snake working! Cleaned up the code of unused stuff and added comments to describe what each thing does. File  Diff  Annotate
9:25597bc0cecc 2020-06-05 Managed to get the snake and apple placement working! Still working on movement :( File  Diff  Annotate
8:32825d724856 2020-06-05 Moved everything into classes, still trying to get everything to work. So far the snake object and apple can spawn but not in the right place :( File  Diff  Annotate
7:9bd49beccdd1 2020-06-04 Started to move code into classes have started with the SnakeEngine class which currently draws the game area that was previously in the main.cpp and shows the score. File  Diff  Annotate
6:8e2fca142827 2020-06-04 Setup the movement of the snake head. File  Diff  Annotate
5:e63e1024294e 2020-06-04 Added in the snake head and the apple. Snake head starts at the center of the screen, starting poistion of the apple is mean to be random but not quiet got that to work yet. File  Diff  Annotate
4:07aada4c8421 2020-06-04 Cut the hieght of the play area slightly to add in the score on top. Centered the Score so it looks better than being on the left hand side! File  Diff  Annotate
3:bd4c7eccde17 2020-06-04 Working on the game now drawing out the game area File  Diff  Annotate
2:c6772c5ab69d 2020-06-03 Splash screen with only showing Green LEDs File  Diff  Annotate
1:09a835e6d063 2020-06-02 For some reason my original project wasn't working so had to make a new one. Even though all the files were exactly the same (I coppied and pasted several times) the first project wouldn't do anything :( This project works for now File  Diff  Annotate
0:7423345f87c5 2020-01-31 Pong ported to Gamepad2; File  Diff  Annotate