Snake (Part 14/20)

  • 3
  • Locked
Currently, the snake can pass through its own body, but this is against the rules. To fix this, you need to check the newly created snake head to see whether it coincides with any of the other snake segments. To do this, create a checkCollision(GameObject) method in the Snake class. The checkCollis
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Level 22 , Iasi, Romania
15 June 2021, 11:11
This task has been completed by 396 students. is interesting how most of the people decided to stop before finishing this game