ECE 2035 Summer 2015

Dependencies:   4DGL-uLCD-SE MMA8452 SDFileSystem mbed wave_player

Dependents:   RoboFrogTemplate

Fork of ECE2035_FroggerGame_SUM1025 by Le Tran

Files at this revision

API Documentation at this revision

Comitter:
ece2035ta
Date:
Sun Jul 05 21:52:08 2015 +0000
Parent:
4:3fb1d198e9d6
Child:
6:5ed435a31cc7
Commit message:
ECE 2035 Summer 2015

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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>