Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: Blocks/Blocks.cpp
- Revision:
- 43:233f93860d08
- Parent:
- 42:973bb6036f81
- Child:
- 44:cd10d07ea1e5
--- a/Blocks/Blocks.cpp Tue Apr 23 15:22:09 2019 +0000 +++ b/Blocks/Blocks.cpp Thu Apr 25 18:12:17 2019 +0000 @@ -311,8 +311,8 @@ else if(times == rand()%6) { caseselect[i] = 0; } - else { - caseselect[i] = rand()%16; + 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??? } pos+=16; times+=1;