The snake must move with every turn. A turn takes a certain amount of time, which you can set.
To implement the logic for moving the snake, create a
move() method in the Snake class. Override the onTurn(int) method of the parent of the SnakeGame class. Everything that should happen in the game dur
Snake (Part 8/20)
- 3
Locked
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Andrei
12 February 2021, 09:23
Man the information provided in the conditions is so poorly worded in my opinion. "To implement the logic for moving the snake, create a move() method in the Snake class. Override the onTurn(int) method of the parent of the SnakeGame class. " - create a move method... great... what does it do, parameters ? anything? Or at every level I have to bash my head against the wall and then finally check the solution?
And apparently a level 5 can do this. Yeah, maybe a level 5 with a CS degree... Man this is stupid.
0
Stephan E.
16 March 2020, 14:51
What is my problem ? Can someone help ? In my opinion i do everything he wants from me
0