Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
AhmedPlaymaker
Date:
Thu May 09 14:52:19 2019 +0000
Parent:
103:64bc823d71f4
Commit message:
Final Submission. I have read and agreed with Statement of Academic Integrity.

Changed in this revision

MenuClasses/Tutorial/Tutorial.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 64bc823d71f4 -r 17040265b7b4 MenuClasses/Tutorial/Tutorial.cpp
--- a/MenuClasses/Tutorial/Tutorial.cpp	Thu May 09 14:36:21 2019 +0000
+++ b/MenuClasses/Tutorial/Tutorial.cpp	Thu May 09 14:52:19 2019 +0000
@@ -351,7 +351,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -371,7 +370,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -391,7 +389,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -411,7 +408,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -431,7 +427,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
 
         _lcd->clear();
         while ((_pad->check_event(Gamepad::START_PRESSED) == false)&&(_pad->check_event(Gamepad::A_PRESSED) == false)) {  //if button pressed.
@@ -446,7 +441,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -466,7 +460,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
 
         _lcd->clear();
         while ((_pad->check_event(Gamepad::START_PRESSED) == false)&&(_pad->check_event(Gamepad::A_PRESSED) == false)) {  //if button pressed.
@@ -481,7 +474,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -502,7 +494,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -523,7 +514,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -544,7 +534,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -565,7 +554,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
 
         _lcd->clear();
         while ((_pad->check_event(Gamepad::START_PRESSED) == false)&&(_pad->check_event(Gamepad::A_PRESSED) == false)) {  //if button pressed.
@@ -581,7 +569,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -602,7 +589,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
 
@@ -624,7 +610,6 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
         
         _lcd->clear();
         while ((_pad->check_event(Gamepad::START_PRESSED) == false)&&(_pad->check_event(Gamepad::A_PRESSED) == false)) {  //if button pressed.
@@ -641,6 +626,5 @@
             }
         }
         wait(0.3);
-        _pad->tone(1000.0,0.1);
     }
 }
\ No newline at end of file