Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: SnakevsBlock/SnakevsBlock.h
- Revision:
- 37:ee47699915b8
- Parent:
- 33:249cf423fb18
- Child:
- 38:30e4e6191762
--- a/SnakevsBlock/SnakevsBlock.h Thu Apr 18 06:19:33 2019 +0000 +++ b/SnakevsBlock/SnakevsBlock.h Thu Apr 18 14:03:43 2019 +0000 @@ -87,6 +87,7 @@ int _speed; Direction _d; float _mag; + int _detect_slowly; //this makes sure that when the length is more than 10, the colliding block doesnt decrease the all the length in a single itteration. int n; /** Check for Snake and Food collision