Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
19:05cc9f801468
Parent:
18:b391caa5754c
Child:
22:ee698f66146f
--- a/SnakevsBlock/SnakevsBlock.h	Mon Apr 08 05:57:04 2019 +0000
+++ b/SnakevsBlock/SnakevsBlock.h	Mon Apr 08 16:46:14 2019 +0000
@@ -48,9 +48,11 @@
     int snakex;
     int snakey;
     int length;
+    int level;
     int foodbuff;  //this makes food 1,2,and 3 come at seperate times
     int blocknum;
-    int blockgap;
+    int blockgap; //to change frequency of fall
+    int blockbuff; // to manage the fall of food relative to the blocks
     int srn;
     int send; //makes sure that the block number is only updated when send is activated.
     int speed; //makes sure that snake only moves if not colliding to block walls