project for 2035

Dependencies:   mbed wave_player 4DGL-uLCD-SE MMA8452

Revision:
22:33f1a0dff46c
Parent:
18:92431a28b46b
--- a/snake.cpp	Wed Nov 25 00:57:48 2020 +0000
+++ b/snake.cpp	Wed Nov 25 04:48:22 2020 +0000
@@ -12,6 +12,10 @@
     s->score = 0;
     s->locations[0].x = 50;
     s->locations[0].y = 50;
-    s->locations[1].x = 40;
-    s->locations[1].y = 40;
+    s->locations[1].x = 39;
+    s->locations[1].y = 50;
+    s->head_x = 5;
+    s->head_y = 5;
+    s->head_px = 5;
+    s->head_py = 5;
 }