Final Commit

Dependencies:   mbed

Changes

RevisionDateWhoCommit message
27:bd0f69a75d8b 2018-05-08 JRM1986 Final Commit default tip
26:23301f48c1ed 2018-05-08 JRM1986 Tidying 2 no longer incerments food spawn time;
25:f03439ee32c6 2018-05-08 JRM1986 Tidying up 1;
24:4b180348826e 2018-05-01 JRM1986 Comments done;
23:3081be418c89 2018-05-01 JRM1986 Comments in process;
22:7f81fca01f02 2018-05-01 JRM1986 Comments for Snake and Food Classes complete;
21:63c5590cb2c2 2018-04-30 JRM1986 No longer increments in steps of 2, init functions work
20:277e88a8185f 2018-04-30 JRM1986 removing unneccessary global variables;
19:b437806e579b 2018-04-30 JRM1986 exeptions for set direction debugged, function for set direction seperated into smaller blocks;
18:406fc298a7c4 2018-04-30 JRM1986 Save Commit
17:94dd8a691d4a 2018-04-25 JRM1986 segments adding to tail but with gap between each
16:85ca9feccf3f 2018-04-18 JRM1986 length counter works in conjuction with food/snake head collision detection
15:4c97fe30f3b7 2018-04-12 JRM1986 Food randomly appears, at user defined intervals;
14:c3a435597196 2018-04-12 JRM1986 Snake movement & position incrementation works and is drawn on lcd; Crashes when NE, SE, SW, & NW are selected
13:72bc2579e85e 2018-04-11 JRM1986 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
12:9f2f64016f56 2018-04-09 JRM1986 Snake position is working, and updating through use of gloabal variables; Need to create function to store current direction, and update it
11:e260c17a0489 2018-04-06 JRM1986 Direction function debugged and test routine run ; Postion function test routine created not run
10:62d8cb7742c3 2018-04-04 JRM1986 Function to set and return direction works in low level test, unable to implement as FSM as of yet.
9:561e5681b7a6 2018-04-03 JRM1986 Functions to set and return direction of snake head, and position of snake head respectively done but not tested
8:a2b431b9b3f7 2018-03-22 JRM1986 Function to get random position for food now working; To do next; Snake movement; Snake collision detection;
7:c38800a428a6 2018-03-21 JRM1986 Initialisation of Food class completed, de-bugged but not tested with testing class;
6:f3f508cea1c4 2018-03-16 JRM1986 Basic functions for main, and SnakeEngine introduced but not defined
5:27fcb9b36e7e 2018-03-13 JRM1986 Basic functions and methods done for Food class.; Testing suggests that pixel is not being randomly set, or within range of 48*84 display.
4:a9634970d33e 2018-03-07 JRM1986 Testing Class created
3:50f01159c61d 2018-03-06 JRM1986 Food - accessor, mutator created - failed to return a random x/y value in testing
2:ea90cec2489a 2018-02-28 JRM1986 Basic structure of .h & .cpp files complete including includes, and constructors/destructors
1:c3fdbc4b1293 2018-02-28 JRM1986 Basic classes; Snake, Food, & SnakeEngine added but not defined
0:53ee0f689634 2018-02-28 JRM1986 Initial Commit- ; Project named; Libraries imported; Libraries converted to folders