Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
50:3cf9a94a264e
Parent:
49:441c32f6603e
Child:
54:20abd16c7d74
--- a/main.cpp	Fri Apr 26 17:16:22 2019 +0000
+++ b/main.cpp	Fri Apr 26 18:04:19 2019 +0000
@@ -52,6 +52,7 @@
     _start.instruct(lcd, pad);
     while(1)  { //This loop is created for Play/Continue configuration
         _start.read_stats(sd); //this is to save the current highest level in the stats class that can be used in menu.
+        stats.write(1, sd); //this tells the stats class that the game has started from level 1;
         _start.main_menu(lcd, pad);
         _start.credits(lcd); // this is after the menu to allow us to hide credits if we want to play the game fast.
         fps = _start.fps;