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:05:19 2016 +0000
Parent:
41:1a7c4d4d6bcd
Child:
43:73afa890c336
Child:
48:7d51d641074f
Commit message:
bbb

Changed in this revision

Stage.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Stage.cpp	Tue Dec 13 13:48:36 2016 +0000
+++ b/Stage.cpp	Tue Dec 13 14:05:19 2016 +0000
@@ -19,7 +19,7 @@
         for(int i = 0; i < LCD_X;i++){
             if(i == LCD_X - 1){
                 //make random
-                int r = rand() % (LCD_Y - 5); //TODO
+                int r = nextStep(); //TODO
                 stage[i] = r;
             }else{
                 //slide