ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18s2a_2

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Psy1990
Date:
Fri Jun 05 22:57:33 2020 +0000
Parent:
20:11a0c8c5bdbf
Commit message:
Final Submission. I have read and agreed with Statement of Academic Integrity.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jun 05 22:54:52 2020 +0000
+++ b/main.cpp	Fri Jun 05 22:57:33 2020 +0000
@@ -22,8 +22,8 @@
 #define APPLE_SIZE 2
 #define SNAKE_SPEED 1
 #define SNAKE_SCORE 0
-#define SNAKE_SNAKEHEIGHT 10  // Keep these equal to give it a square
-#define SNAKE_SNAKEWIDTH 10  // Keep these equal to give it a square
+#define SNAKE_SNAKEHEIGHT 5  // Keep these equal to give it a square
+#define SNAKE_SNAKEWIDTH 5  // Keep these equal to give it a square
 
 
 // structs