Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
80:51ca38c5dcdf
Parent:
79:35cb65c52d25
Child:
81:4c1641e10dcd
--- a/GameEngine/SnakevsBlock/SnakevsBlock.cpp	Sun May 05 23:48:57 2019 +0000
+++ b/GameEngine/SnakevsBlock/SnakevsBlock.cpp	Mon May 06 08:00:56 2019 +0000
@@ -60,9 +60,9 @@
             _d = pad.get_direction(); //Obtains Direction pushed towards on Joystick.
             break;
         case 2:
-            if (_tiltAngle >= 6) {
+            if (_tiltAngle >= 5) {
                 _d = E;
-            } else if (_tiltAngle <= -6) {
+            } else if (_tiltAngle <= -5) {
                 _d = W;
             } else {
                 _d = CENTRE;