![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: GameEngine/SnakevsBlock/SnakevsBlock.h
- Revision:
- 87:871d9fecb593
- Parent:
- 84:9950d561fdf8
- Child:
- 92:693a6ae0ff8e
--- a/GameEngine/SnakevsBlock/SnakevsBlock.h Tue May 07 00:02:11 2019 +0000 +++ b/GameEngine/SnakevsBlock/SnakevsBlock.h Wed May 08 16:39:24 2019 +0000 @@ -235,7 +235,7 @@ int velocity; //this is to stop/move the background (food and blocks), when collision occurs at a length greater than 10. int _length; //this is diffrent to the _virtualLength as this saves the length of the snake, for collision detection relative to it's length and calculations. int _virtualLength; //saves the length of the snake, for collision detection relative to it's Max screen length. - int b[10]; //this saves the beed number of the colliding snake, if beed 3 from top was colliding with any obstruction, b[2] will be 1. + int immobile_bead_n[10]; //this saves the beed number of the colliding snake, if beed 3 from top was colliding with any obstruction, immobile_bead_n[2] will be 1. //TURN DIRECTION, TILT ANGLE AND ANGLE RESET BUFFER (GARBAGE). Direction _d;