Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Game Over on Snake Biting Itself #4

Open
ANKITy102 opened this issue Mar 14, 2024 · 1 comment
Open

Implement Game Over on Snake Biting Itself #4

ANKITy102 opened this issue Mar 14, 2024 · 1 comment
Labels
bug Something isn't working foss-weekend medium

Comments

@ANKITy102
Copy link
Contributor

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:

  • 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.

@vishalparida
Copy link

vishalparida commented Mar 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working foss-weekend medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants