Inspiration
We've been playing the same old Snake game for a while and are ready to level it up with a ROCKY twist. Like the original, Snake Wave is a single-player game for snakes to slither across a battlefield collecting rocks for food. Each round you play, you’ll earn points. Challenge your friends to beat your high score, and PLAY THE SNAKE WAVE.
What it does
- Play the next level of the classic snake game where you don't need to press a single key to play!
- Guide a snake to eat rocks just by moving your finger in front of a camera
- Grow your snake for a high score while avoiding eat yourself or running into the edges
How we built it
- OpenCV for live video capture
- Google's MediaPipe for hand landmarking to identify the index finger and its location
- Pygame to create a local game
Challenges we ran into
- Integrating MediaPipe code and open CV with Pygame
- Understanding MediaPipe documentation
- Overcoming a gameboard that was resetting after each frame
Accomplishments that we're proud of
- The position of the finger is correctly identified in the respective quadrant
- The snake movement is responsive and playable
What we learned
- How to read the documentation and follow tutorials
- How to debug errors that block us from running our code
- Dealing with merge conflicts
- Plan API calls to reduce inefficiencies and more challenging for other coders to interpret if changes need to be change
- Design with user experience in mind
What's next for Snake Wave
- Improve UI with multiple screens for user login, leaderboard, and rewards store for different skins
- Deploy and use the API we built for user data
Built With
- flask
- goodnotes
- google-media-pipe
- opencv
- postgresql
- pygame
- python



Log in or sign up for Devpost to join the conversation.