Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: Blocks/Blocks.cpp
- Revision:
- 44:cd10d07ea1e5
- Parent:
- 43:233f93860d08
- Child:
- 45:1d5472477df4
--- a/Blocks/Blocks.cpp Thu Apr 25 18:12:17 2019 +0000 +++ b/Blocks/Blocks.cpp Thu Apr 25 21:43:07 2019 +0000 @@ -311,8 +311,8 @@ else if(times == rand()%6) { caseselect[i] = 0; } - else { - caseselect[i] = rand()%15; //can make it 16 here later so that people are in for a shock when they think its an empty space and loose massive lives??? + else { + caseselect[i] = rand()%16; } pos+=16; times+=1;