Skip to content

collidingScopes/tetris

Repository files navigation

✋ Tetris Computer Vision 👀

A browser-based Tetris game that you can play with natural hand gestures. No additional hardware required - just a webcam.

Play here 🎮: https://collidingscopes.github.io/tetris

Features

  • Hand tracking: Uses MediaPipe for real-time hand detection
  • 3D fruits: Built with Three.js for smooth 3D animations
  • Gesture-based controls: Move pieces via hand movements and gestures
  • Scoring system: Keep track of your high score
  • Progressive difficulty: Game gets harder as you progress

How to Play

  1. Allow camera access when prompted
  2. Position yourself so your hand is visible in the webcam feed
  3. Click "Start" to begin

Technical Details

  • Uses MediaPipe Hands for hand tracking
  • Three.js for 3D rendering
  • Vanilla JavaScript with no framework dependencies
  • Optimized for both desktop and mobile devices
  • Cross-platform compatibility with modern browsers

Feedback

Send feedback via:

License

MIT License - Feel free to use and modify as you wish!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors