Skip to content

Jivi-this-side/Duck-hunt-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duck-Hunt

Built a gesture-controlled Duck Hunt game that tracks your hands, lets you shoot with pinch gestures, and judges your aim harder than your relatives.

Control the game using your real hand gestures through your webcam:

  • 👉 Point to aim
  • 🤏 Pinch fingers to shoot
  • 😂 Get laughed at by the dog if you miss

🎮 GAMEPLAY:

  1. See intro: dog walks, sniffs, jumps
  2. Ducks appear
  3. Point finger at duck
  4. Pinch thumb+index to shoot
  5. 3 misses = GAME OVER
  6. Higher levels = more ducks + harder

📊 SCORING:

  • Blue duck: 100 points
  • Green duck: 200 points (level 3+)
  • Red duck: 300 points (level 5+)

Accuracy tracked in real-time Levels increase difficulty and add new duck types

How It Works

The game uses:

  • MediaPipe Hands to detect hand landmarks from webcam input
  • Finger tip coordinates for cursor movement
  • Pinch detection between thumb & index finger for shooting
  • HTML5 Canvas for rendering sprites and animations in real time

This project turns your webcam into a retro Nintendo-style light gun.

The ducks still fly.

The dog still laughs.

⭐ If You Like This Project

Give it a star ⭐ and shoot some ducks responsibly.

About

Built a gesture-controlled Duck Hunt game that tracks your hands, lets you shoot with pinch gestures !

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages