An open API service indexing awesome lists of open source software.

https://github.com/simplecyber/hand-catcher

Hand Catcher : A game using the pyton opencv to catch the falling balls simple yeat intreasting
https://github.com/simplecyber/hand-catcher

Last synced: 5 months ago
JSON representation

Hand Catcher : A game using the pyton opencv to catch the falling balls simple yeat intreasting

Awesome Lists containing this project

README

          

# Hand Catcher Game

Welcome to **Hand Catcher**, a fun and interactive game that uses hand tracking to control a catcher and grab falling circles! This project combines **Python**, **OpenCV**, and **Pygame** for an engaging experience.

## Features
- Real-time hand tracking with MediaPipe Hands.
- Pygame-based gameplay with smooth animations.
- Background music and sound effects.
- Simple mechanics: Catch the circles using your hand, avoid missing them!

## Prerequisites
- Python 3.7 or later
- Required libraries:
- OpenCV
- MediaPipe
- Pygame

Install dependencies with:
```bash
pip install opencv-python mediapipe pygame
```

## How to Play
1. Clone the repository:
```bash
git clone https://github.com/SimpleCyber/Hand-Catcher.git
```
2. Navigate to the project directory:
```bash
cd Hand-Catcher
```
3. Run the game:
```bash
python hand_catcher.py
```
4. Control the catcher using your hand movements to grab falling circles. Avoid missing too many circles!

## Gameplay Screenshot
![Game Output](https://raw.githubusercontent.com/SimpleCyber/Hand-Catcher/main/output.png)

## Controls
- **Space**: Start the game
- **Hand movements**: Control the catcher

## Assets
- Background image: `Assets/background.jpg`
- Sound effects: `Assets/catch.mp3`, `Assets/miss.mp3`, `Assets/game_over.mp3`
- Background music: `Assets/background_music.mp3`

## Contribution
Feel free to fork this repository and submit pull requests. Contributions are welcome!

## License
This project is licensed under the MIT License.