Currently, the game only ends when the snake collides with the boundaries. However, to enhance gameplay realism and challenge, update the game logic to trigger a game over when the snake bites itself.
Tasks:
Update game logic to detect when the snake bites itself.
Implement functionality to end the game when the snake bites itself.
Ensure that the game over condition on self-biting provides appropriate feedback to the player.
Resolution:
Solve the tasks outlined above and submit a pull request referencing this issue ID (#ISSUE_ID) with a screenshot or video demonstrating the implemented feature.
Description:
Currently, the game only ends when the snake collides with the boundaries. However, to enhance gameplay realism and challenge, update the game logic to trigger a game over when the snake bites itself.
Tasks:
Resolution:
Solve the tasks outlined above and submit a pull request referencing this issue ID (#ISSUE_ID) with a screenshot or video demonstrating the implemented feature.