Closed Sidharth-Singh10 closed 4 months ago
Fixes #4 Added a loop in isCollide function which checks if the snake has collided with itself, which in turn returns true if it has collided, thereby alerting game over ![Uploading Screenshot from 2024-03-17 00-05-51.png…]()
isCollide
@Sidharth-Singh10, nice work!
Fixes #4 Added a loop in
isCollide
function which checks if the snake has collided with itself, which in turn returns true if it has collided, thereby alerting game over ![Uploading Screenshot from 2024-03-17 00-05-51.png…]()