Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
70:7caab8069b9b
Parent:
65:2872ca289b49
Child:
71:4bd2b27693f3
--- a/GameEngine/SnakevsBlock/SnakevsBlock.h	Sat May 04 17:18:44 2019 +0000
+++ b/GameEngine/SnakevsBlock/SnakevsBlock.h	Sat May 04 20:48:10 2019 +0000
@@ -202,7 +202,7 @@
     int velocity; //this is to stop/move the background (food and blocks), when collision occurs at a length greater than 10.
     int _length; //this is diffrent to the _virtualLength as this saves the length of the snake, for collision detection relative to it's length and calculations.
     int _virtualLength; //saves the length of the snake, for collision detection relative to it's Max screen length.
-    int b[15]; //this saves the beed number of the colliding snake, if beed 3 from top was colliding with any obstruction, b[2] will be 1.
+    int b[10]; //this saves the beed number of the colliding snake, if beed 3 from top was colliding with any obstruction, b[2] will be 1.
 
     //TURN DIRECTION, TILT ANGLE AND ANGLE RESET BUFFER (GARBAGE).
     Direction _d;