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

Snake game using computer vision #640

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

surya-moorthy
Copy link

Related Issue

  • Info about the related issue

  • [ *] CSSOC 2024 Participant

  • [ *] Contributor

Closes: #607 Snake Game Using Compute Vision

adds-on

This Python script creates a fun and interactive Snake game controlled by your hand! Using OpenCV and MediaPipe's hand tracking, you can guide the snake with your index finger, eat food, grow longer, and rack up points. The game ends when the snake collides with itself or the screen's edge. Press 'r' to play again!

Checklist:

  • [* ] My code follows the guidelines of this project.
  • [ *] I have performed a self-review of my own code.
  • [ *] I have commented my code, particularly wherever it was hard to understand.
  • [ *] I have made corresponding changes to the documentation.
  • [ *] My changes generate no new warnings.
  • [ *] I have added things that prove my fix is effective or that my feature works.
  • [ *] Any dependent changes have been merged and published in downstream modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snake Game using Computer Vision
1 participant