Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.

Dependencies:   mbed FXOS8700CQ mbed-rtos

Revision:
19:903d67bb0dea
Parent:
14:abe64fe0b6a5
Child:
26:c60becf3f840
--- a/Game_two/Twitter_files/Twitter.cpp	Sun Apr 21 11:07:43 2019 +0000
+++ b/Game_two/Twitter_files/Twitter.cpp	Sun Apr 21 12:14:59 2019 +0000
@@ -12,9 +12,9 @@
 
 void Twitter::init(int speed)
 {    
-    int position = rand() % 8; // randomise initial direction. 
+    int position = rand() % 8; // randomise initial direction and position. 
 
-    // 4 possibilities. Get random modulo and set velocities accordingly
+    // 8 possibilities. Get random modulo and set velocities and position accordingly
     if (position == 0) {
         _x = -9;
         _y = 12;