bhav09 / pop-the-bubble

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pop the Bubbles!

A fun and addictive game where you pop bubbles with your finger using computer vision!

This repository contains the code for a game where you can pop bubbles using your fingertip, detected through computer vision. It uses the Mediapipe library and OpenCV to track your hand movements and create a realistic bubble-popping experience.

Features:

  • Pop bubbles with your fingertip
  • Realistic bubble physics
  • Particle effects for burst bubbles
  • Score counter
  • Time limit

Getting Started:

  1. Install dependencies:

    • Python 3.6+
    • OpenCV
    • Mediapipe
    • numpy
    • random
    • time
  2. Clone this repository:

git clone https://github.com/bhav09/pop-the-bubble.git
  1. Run the script:
python bubbles_with_effect.py

Gameplay:

  1. Point your finger at the camera and move it around to pop the bubbles.
  2. Try to pop as many bubbles as you can before the time runs out.
  3. The more bubbles you pop, the higher your score!

Enjoy the game!

About


Languages

Language:Python 100.0%