Skip to content

VIKASKENDRE/balloon-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One fine day while browsing through some site I came across an add for a AI powered motion tracking gaming system and it reminded me of the hay days of xbox 360 kinnect. I thought ny son would enjoy playing it, but this gaming cube was quite expensive. Well then I told myself let's try and build one with my expertise in python and opencv on my humble laptop, using it's built in camera as a tracker! and here it is.

🎈 AI-Powered Balloon Burst Game

An interactive computer vision game where you burst floating balloons using real-time hand tracking via your laptop camera. Designed as a fun educational project for AI + game development practice.


🚀 Features

✅ Real-time palm detection with Mediapipe
Floating balloons with burst animation and sound
Dual hand detection (left and right)
Difficulty levels: Easy, Medium, Hard
High score saving across sessions
Main menu screen with interactive selection
✅ Background music and pop sound effects


🛠 Tech Stack

  • Python 3.8+
  • OpenCV
  • Mediapipe
  • Pygame

⚙️ Setup Instructions

  1. Clone the repository:
git clone https://github.com/yourusername/balloon-game.git
cd balloon-game

2.Create and activate virtual environment:

python -m venv venv
source venv/bin/activate   # Linux/Mac
venv\Scripts\activate      # Windows

3. Install Dependencies:

pip install -r requirements.txt

4. Run the game:
python ./main.py


✨ Future Enhancements
Build as a standalone EXE with PyInstaller

Integrate with Electron for desktop app UI

Add frame-by-frame burst animation

Add depth to it (make it 3D)

🤝 Contributions
Pull requests and feature suggestions are welcome to improve this educational AI game project.

📝 License
MIT License © 2025

📷 Demo Screenshots Calibration Screenshot GamePlay Screenshot

🗞 Featured On

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages