Closed anadimehta closed 4 months ago
In the javascript file , in the collide function added for loop for the length of snake so that the if the snake bites itself the game gets over.
4 Implement Game Over on Snake Biting Itself .
In the javascript file , in the collide function added for loop for the length of snake so that the if the snake bites itself the game gets over.