frogger game revision
Dependencies: 4DGL-uLCD-SE MMA8452 SDFileSystem mbed wave_player
Fork of ECE2035_FroggerGame_SUM2015 by
Diff: main.cpp
- Revision:
- 5:52a01054e275
- Parent:
- 4:3fb1d198e9d6
- Child:
- 9:47f07aa85f1a
diff -r 3fb1d198e9d6 -r 52a01054e275 main.cpp --- a/main.cpp Sun Jul 05 21:50:36 2015 +0000 +++ b/main.cpp Sun Jul 05 21:52:08 2015 +0000 @@ -6,7 +6,7 @@ #include <vector> #include "MMA8452.h" -// Include header files for pacman project +// Include header files for roboFrogger project #include "globals.h" #include "map_public.h" #include "robot.h" @@ -53,7 +53,7 @@ while(1) { tick = timer.read_ms(); // Read current time - /// 2. Implement the code to get user input and update the Pacman + /// 2. Implement the code to get user input and update the roboFrogger /// -[Hint] Implement the code to move RoboFrogger. You could use either push-button or accelerometer. <br> // [Some hints for user-input detection] @@ -62,7 +62,7 @@ uLCD.printf("Score x%4.1f ",1); //You could remove this code if you already make the accelerometer work. /// -[Hint] Here is a simple way to utilize the readings of accelerometer: - /// If x is larger than certain value (ex:0.3), then make the Pacman move right. + /// If x is larger than certain value (ex:0.3), then make the roboFrogger move right. /// If x<-0.3, then make it move left. <br>