A zombie game made for the uLCD

Dependencies:   4DGL-uLCD-SE mbed-rtos mbed

Fork of uLCD144G2_demo by jim hamblen

Revision:
11:4b75ea66467d
Parent:
10:9d16de327719
--- a/main.cpp	Sun Mar 13 16:00:46 2016 +0000
+++ b/main.cpp	Mon Mar 14 02:20:41 2016 +0000
@@ -303,7 +303,7 @@
                     if((Z[0][0]+i)==Px1+j) {
                         for(int m=0; m<3; m++) {
                             for(int n=0; n<3; n++) {
-                                if((Z[0][1]+m)==Py1+j) {
+                                if((Z[0][1]+m)==Py1+n) {
                                     state=gameover;
                                     break;
                                 }