Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 15:658f1216ee84
- Parent:
- 14:cf4a32245152
- Child:
- 16:106c27d03402
--- a/main.cpp Sun May 06 16:17:41 2018 +0000 +++ b/main.cpp Mon May 07 13:29:49 2018 +0000 @@ -1,8 +1,8 @@ /* - ELEC2645 Embedded Systems Project - School of Electronic & Electrical Engineering - University of Leeds - Name: Reham Faqehi +ELEC2645 Embedded Systems Project +School of Electronic & Electrical Engineering +University of Leeds +Name: Reham Faqehi Username: Fy15raf Student ID Number: 200982112 Date: 03/05/2018 @@ -82,7 +82,7 @@ break; } } - if (game.check_gameOver()==1) { // if check_gameOver() function return 1 gameOver screen will be showen + if (game.check_gameOver()==1) { // if check_gameOver() function return 1 gameOver screen will be shown //debugging printf("\n\n ....End of the game :)..... \n\n"); @@ -142,7 +142,7 @@ // game over screen after the end of the game void gameOver() { - //game over secreen will be showen until start button is pressed + //game over secreen will be shown until start button is pressed while ( g_pad.check_event(Gamepad::START_PRESSED) == false) { lcd.printString(" Game Over!! ",0,1); //print the maximum recorded seconds