![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Owen Cavender 201159294
Diff: snake.cpp
- Revision:
- 17:eddcd4d21fd7
- Parent:
- 16:9500059ad5d8
--- a/snake.cpp Sat May 30 05:43:50 2020 +0000 +++ b/snake.cpp Sat May 30 20:20:10 2020 +0000 @@ -31,7 +31,7 @@ _reset_apple = false; //triggers the generation of a new apple position. _score = 0; //initialises score to 0 _direction = down; //initial direction - _countdown = 18; //initial number of moves is lower than the reset value in order to keep the number of moves low to increase difficulty + _countdown = 22; //initial number of moves is lower than the reset value in order to keep the number of moves low to increase difficulty (changed it from 18 - 22 as it wasn't possible with 18 moves) } Vector2D Snake::get_Snakehead()