ELEC2645 (2017/18) / Mbed 2 deprecated el16a2t

Dependencies:   mbed

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?

UserRevisionLine numberNew 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;