Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
87:871d9fecb593
Parent:
84:9950d561fdf8
--- a/MenuClasses/StartScreen/StartScreen.cpp	Tue May 07 00:02:11 2019 +0000
+++ b/MenuClasses/StartScreen/StartScreen.cpp	Wed May 08 16:39:24 2019 +0000
@@ -165,9 +165,9 @@
 
     for(int ani = -51; ani <= 0; ani+=3)  {
         _lcd->clear();
-        _lcd->drawSprite(0,ani,48,84,(int *)titleSprite); //Function used to draw the sprite
+        _lcd->drawSprite(0,ani,48,84,(int *)titleSprite); //Function used to draw the titleSprite
         _lcd->refresh();
-        _pad->tone(song[(ani+48)/3],0.1);
+        _pad->tone(song[(ani+48)/3],0.1); //This plays all the tones saved in song unless it is skipped by pressing start or A.
 
         //This Allows us to skip/play the animation before the menu screen
         if (StartScreen::checkStartorAPressed()) {
@@ -208,7 +208,7 @@
 void StartScreen::credits()
 {
     _lcd->clear();
-    if(showCredits)  {
+    if(showCredits)  { //Only shows the credits to the player if it had been kept enabled in settings.
         _lcd->printString("Created BY",8,1);
         _lcd->printString("Ahmed",24,3);
         _lcd->printString("Adamjee",20,4);