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
engine/main.h@7:d1a1f7c5eb0d, 2018-05-05 (annotated)
- Committer:
- el16a2t
- Date:
- Sat May 05 18:37:29 2018 +0000
- Revision:
- 7:d1a1f7c5eb0d
- Parent:
- 4:a6ca44e29e97
- Child:
- 8:8d25574b14cd
added printf's to newgame and gameover functions. removed 'main' while loop and instead now loop around newgame and gameover functions. this allowed me to press start from the gameover function tostart a new game.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| el16a2t | 1:a3c9025e0dad | 1 | |
| el16a2t | 1:a3c9025e0dad | 2 | |
| el16a2t | 1:a3c9025e0dad | 3 | int x_player; |
| el16a2t | 1:a3c9025e0dad | 4 | int y_player; |
| el16a2t | 1:a3c9025e0dad | 5 | int x_car; |
| el16a2t | 1:a3c9025e0dad | 6 | int y_car; |
| el16a2t | 4:a6ca44e29e97 | 7 | int x_car2; |
| el16a2t | 4:a6ca44e29e97 | 8 | int y_car2; |
| el16a2t | 1:a3c9025e0dad | 9 | int score; |
| el16a2t | 2:a48df109588e | 10 | int difficulty; |
| el16a2t | 2:a48df109588e | 11 | char str[14]; |
| el16a2t | 7:d1a1f7c5eb0d | 12 | int lives; |