Skip to content

ibrohim-ML/CV_GunGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔫 Gun Game

You vs the targets. Your finger is the gun.


🎯 What is this?

A browser game where your index finger becomes a crosshair.
Flick it up to shoot. Hit targets. Survive the speed.

No mouse. No keyboard. No controller.
Just a webcam and your reflexes.


🕹️ Controls

What How
🖐️ Aim Point your index finger
⚡ Shoot Flick your finger up fast
🔁 Cooldown 185ms between shots
🤏 Alt. trigger Pinch thumb + index

🎨 Features

  • 5 target styles — glowing rings, bullseyes, dashed patterns, auras, hybrids
  • 💥 Particle burst — 22+ shattering particles with gravity and drag
  • 🌊 Shockwave — expanding ripple on every hit
  • 📳 Screen shake — brief rumble feedback
  • ⚡ Dynamic speed — scales from 1.0x to 3.0x as you score
  • 🎯 Hit detection — generous radius with smoothing forgiveness
  • 📊 Debug crosshair — armed state color shift, flick tracker, history buffer

📁 One file

CV_GunGame/
├── 🎮 test13.html     # The entire game (1318 lines)
├── 📖 README.md
└── 🗑️ .gitignore

No frameworks. No build tools. Open and play.


🚀 Run

python -m http.server 8000
# → http://localhost:8000

Camera requires localhost or HTTPS. No file://.



🔫 Gun Game

Sen va nishonlar. Barmog'ing — qurol.


🎯 Bu nima?

Ko'rsatkich barmog'ing kursor vazifasini bajaradigan brauzer o'yini.
Tepaga silsang — o'q uzadi. Nishonga tekkiz. Tezlikka moslash.

Sichqoncha, klaviatura, djoystik kerak emas.
Faqat kamera va reflekslaring.


🕹️ Boshqaruv

Nima Qanday
🖐️ Nishonga olish Barmoqni ko'rsatish
⚡ O'q uzish Tepaga siltash
🔁 Tayyorgarlik 185ms oralig'ida
🤏 Zaxira Barmoqni chimchish

🎨 Xususiyatlar

  • 5 xil nishon — yorqin halqalar, nishon markazi, tireli naqshlar, auralar
  • 💥 Portlash — 22+ zarracha tortishish kuchi bilan
  • 🌊 Zarba to'lqini — har bir urganda kengayuvchi halqa
  • 📳 Ekran silkinishi — qisqa tebranish
  • ⚡ Dinamik tezlik — 1.0x dan 3.0x gacha ball bilan oshadi
  • 🎯 Aniqlik — keng nishon doirasi
  • 📊 Kursor holati — o'qqa tayyorlik rangi, flick hisoblagichi

📁 Bitta fayl

CV_GunGame/
├── 🎮 test13.html     # To'liq o'yin (1318 qator)
├── 📖 README.md
└── 🗑️ .gitignore

Framework kerak emas. Build kerak emas. Ochib o'ynang.


🚀 Ishga tushirish

python -m http.server 8000
# → http://localhost:8000

Kamera localhost yoki HTTPS talab qiladi. file:// ishlamaydi.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages