Final Commit

Dependencies:   mbed

Revisions of main.cpp

Revision Date Message Actions
26:23301f48c1ed 2018-05-08 Tidying 2 no longer incerments food spawn time; File  Diff  Annotate
25:f03439ee32c6 2018-05-08 Tidying up 1; File  Diff  Annotate
21:63c5590cb2c2 2018-04-30 No longer increments in steps of 2, init functions work File  Diff  Annotate
20:277e88a8185f 2018-04-30 removing unneccessary global variables; File  Diff  Annotate
19:b437806e579b 2018-04-30 exeptions for set direction debugged, function for set direction seperated into smaller blocks; File  Diff  Annotate
18:406fc298a7c4 2018-04-30 Save Commit File  Diff  Annotate
16:85ca9feccf3f 2018-04-18 length counter works in conjuction with food/snake head collision detection File  Diff  Annotate
14:c3a435597196 2018-04-12 Snake movement & position incrementation works and is drawn on lcd; Crashes when NE, SE, SW, & NW are selected File  Diff  Annotate
13:72bc2579e85e 2018-04-11 draw function, get position, set position work; When game starts, init position of snake head soesn't work, but did before. Also getting direction to determine position doesn't appear to work File  Diff  Annotate
12:9f2f64016f56 2018-04-09 Snake position is working, and updating through use of gloabal variables; Need to create function to store current direction, and update it File  Diff  Annotate
11:e260c17a0489 2018-04-06 Direction function debugged and test routine run ; Postion function test routine created not run File  Diff  Annotate
10:62d8cb7742c3 2018-04-04 Function to set and return direction works in low level test, unable to implement as FSM as of yet. File  Diff  Annotate
9:561e5681b7a6 2018-04-03 Functions to set and return direction of snake head, and position of snake head respectively done but not tested File  Diff  Annotate
8:a2b431b9b3f7 2018-03-22 Function to get random position for food now working; To do next; Snake movement; Snake collision detection; File  Diff  Annotate
7:c38800a428a6 2018-03-21 Initialisation of Food class completed, de-bugged but not tested with testing class; File  Diff  Annotate
6:f3f508cea1c4 2018-03-16 Basic functions for main, and SnakeEngine introduced but not defined File  Diff  Annotate
5:27fcb9b36e7e 2018-03-13 Basic functions and methods done for Food class.; Testing suggests that pixel is not being randomly set, or within range of 48*84 display. File  Diff  Annotate
4:a9634970d33e 2018-03-07 Testing Class created File  Diff  Annotate
3:50f01159c61d 2018-03-06 Food - accessor, mutator created - failed to return a random x/y value in testing File  Diff  Annotate
0:53ee0f689634 2018-02-28 Initial Commit- ; Project named; Libraries imported; Libraries converted to folders File  Diff  Annotate