iiitl / snake-game-js

0 stars 43 forks source link

Implement Game Over on Snake Biting Itself #4

Open ANKITy102 opened 5 months ago

ANKITy102 commented 5 months ago

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.

vishalparida commented 5 months ago

Hey @ANKITy102 and @rootCircle , I have fixed this issue. Please review the pull request.