![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: SnakevsBlock/SnakevsBlock.h
- Revision:
- 16:7b474f873683
- Parent:
- 13:9785f2404045
- Child:
- 18:b391caa5754c
diff -r f4d069da093d -r 7b474f873683 SnakevsBlock/SnakevsBlock.h --- a/SnakevsBlock/SnakevsBlock.h Thu Apr 04 18:50:40 2019 +0000 +++ b/SnakevsBlock/SnakevsBlock.h Fri Apr 05 05:46:11 2019 +0000 @@ -50,6 +50,7 @@ int length; int foodbuff; //this makes food 1,2,and 3 come at seperate times int blocknum; + int blockgap; int srn; int send; //makes sure that the block number is only updated when send is activated. int speed; //makes sure that snake only moves if not colliding to block walls