Moving the snake is very simple: in a cell next to the head, a new head is created, and the last element (tail) of the snake is removed.
In the Snake class, implement a createNewHead() method that creates and returns a new GameObject. The new
GameObject must be created next to the element that cur
Snake (Part 9/20)
- 3
Locked
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
joshua
25 April 2020, 09:40
how do you implement the removeTail() method ...pls help
0
Alaskian7134
14 June 2021, 19:57
you just need to add a line to remove the last object in the snakeParts list
0