test avoid bulled game

Dependencies:   C12832_lcd LCD_fonts mbed mbed-rtos

Files at this revision

API Documentation at this revision

Comitter:
th_mbed
Date:
Tue Dec 13 14:33:09 2016 +0000
Parent:
44:d060d07d3144
Child:
52:2115e13cd9d5
Commit message:
xxx

Changed in this revision

Stage.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Stage.cpp	Tue Dec 13 14:21:35 2016 +0000
+++ b/Stage.cpp	Tue Dec 13 14:33:09 2016 +0000
@@ -49,9 +49,6 @@
         int start = stage[LCD_X - 1] - 8;
         if(start < 0){
             start = 0;
-            if((rand()%4)==0){
-                return 0;
-            }
         }
         int end = stage[LCD_X - 1] + 8;
         if(end > 20){