ELEC2645 (2019/20)
/
ELEC2645_Project_el17oc1
Owen Cavender 201159294
Revision 17:eddcd4d21fd7, committed 2020-05-30
- Comitter:
- el17oc
- Date:
- Sat May 30 20:20:10 2020 +0000
- Parent:
- 16:9500059ad5d8
- Commit message:
- Final Submission. I have read and agreed with Statement of Academic Integrity
Changed in this revision
snake.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9500059ad5d8 -r eddcd4d21fd7 snake.cpp --- 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()