submit
Dependencies: mbed Gamepad N5110
Revision 23:fd0339ec480c, committed 2019-05-06
- Comitter:
- 694617778
- Date:
- Mon May 06 05:26:28 2019 +0000
- Parent:
- 22:51fb86b48d9d
- Commit message:
- Final Submission. I have read and agreed with Statement of Academic Integrity.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 51fb86b48d9d -r fd0339ec480c main.cpp --- a/main.cpp Sun May 05 16:31:55 2019 +0000 +++ b/main.cpp Mon May 06 05:26:28 2019 +0000 @@ -32,7 +32,7 @@ // choose game and game loop if(engine.game == 0){ while (snake.over == 0) { - run(); // run the snake game + run(); // run snake game while (pad.check_event(Gamepad::START_PRESSED) == true){ engine.pause(pad,lcd); // pause the game }