Skip to content

Hindolch/The-drifter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

The Drifter ๐Ÿช

Turn your webcam into a jujutsu hand-sign scanner.

Play a Galaga-inspired arcade shooter where the keyboard pilots your ship and your hands unlock cursed techniques.

๐ŸŽฎ Play Now

https://hindolch.github.io/The-drifter/

Playing with keyboard

DEMO.mp4

Hybrid-play (keyboard + hand signs)

DEMO2.mp4

About

EXPAND YOUR DOMAIN! ๐Ÿคž

Uncover your webcam, back away from the monitor, and prepare to sweat.

The Drifter feeds your video stream into an optimized computer vision pipeline that attempts to recognize your hand signs and convert them into reality-bending battlefield abilities.

Is the tracking perfect? Mostly :)

Two glorious modules sit side-by-side:

๐ŸŸฆ Arcade Cabinet (Left) A pixel-art battlefield where rogue software entities attempt to delete your existence.

๐ŸŸช Player Cam (Right) A neon-framed vision system watching your fingers and waiting for the next Domain Expansion.

Zero servers.

Zero cloud processing.


Official Game Manual (Read or Die)

๐ŸŽฎ Hybrid Control System

The Drifter combines traditional arcade controls with real-time gesture recognition.

The keyboard handles movement.

The Domains answer only to hand signs.

Input Technique Effect
WASD / Arrow Keys Navigation Pilot your ship through incoming enemy formations.
Auto Targeting Primary Fire The ship automatically attacks enemies entering its firing lane.
๐Ÿคž Crossed Fingers Infinite Void Slows hostile entities, giving you precious time to react and reposition.
โœŒ๏ธ Peace Sign Mirror Domain Enemy attacks are reflected against themselves. On the mirrored side of the battlefield, hostile projectiles become self-destructive.
โœŠ Fist Catastrophic Domain Reality destabilizes. Speeds, behavior patterns, and combat flow become unpredictable as chaos consumes the battlefield.

๐Ÿฉธ Cursed Energy System

Every hostile variable destroyed releases fragments of raw Cursed Energy.

These fragments automatically charge the meter displayed at the top of the cabinet.

Energy Level Unlock
0% Standard Combat
50% Domain Techniques Available
100% [DOMAIN READY]

Once the meter reaches maximum capacity, perform any recognized gesture in front of the Player Cam to invoke the corresponding Domain.

Activating a Domain consumes the stored energy.


๐Ÿ‘พ Enemy Movement Patterns

The rogue variables hunting you refuse to obey predictable logic.

The Swarmers

Tiny, aggressive green entities.

  • Fast movement
  • Zig-zag trajectories
  • Direct collision attempts

The Heavy Artillery

Larger red combat units.

  • Slower movement
  • Long-range attacks
  • Predictive firing patterns targeting your previous position

๐ŸŒŠ Wave Progression

Every cleared battlefield compiles a more dangerous version of itself.

Wave 1

  • Standard formations
  • Low enemy velocity

Wave 2

  • Increased movement speed
  • Additional enemy spawns

Wave 3+

  • Elevated projectile density
  • Randomized behavior patterns
  • Increased battlefield chaos

Features

  • ๐ŸŽฅ Real-time hand gesture recognition using MediaPipe
  • ๐ŸŽฎ Hybrid keyboard + computer vision gameplay
  • ๐ŸŒ€ Three unique Domain Expansions
  • ๐Ÿ‘พ Progressive enemy wave system
  • ๐Ÿ† Local high-score tracking
  • ๐ŸŽต Dynamic browser audio system
  • ๐Ÿ•น๏ธ Retro pixel-art inspired UI
  • โšก Fully client-side execution
  • ๐ŸŒ GitHub Pages deployment

๐Ÿ› ๏ธ Tech Stack

Layer Technology
Language TypeScript
Build Tool Vite
Rendering HTML5 Canvas
Computer Vision MediaPipe Tasks Vision
Audio Web Audio API
Deployment GitHub Pages
Version Control Git & GitHub

Quick Start (Local Sandbox)

If you want to tweak gesture thresholds, create new Domains, or accidentally invent stronger enemies:

# Install dependencies
npm install

# Launch development environment
npm run dev

# Create production build
npm run build

# Preview production build locally
npm run preview


Roadmap

Version 1.0 โœ…

  • Core arcade gameplay
  • Hand gesture recognition
  • Infinite Void
  • Mirror Domain
  • Catastrophic Domain
  • High score system
  • Audio system
  • GitHub Pages deployment

Future Experiments

  • Additional Domains
  • More faster game speed
  • More gesture recognition techniques
  • Boss encounters
  • Advanced visual effects
  • Domain-specific shaders
  • Mobile support
  • Online leaderboards

Contributing

Ideas, bug reports, pull requests, cursed techniques, and more fictional add-ons be it domain concepts or others are always welcomed.

Fork the repository, experiment recklessly, and submit a PR.


License

MIT

Made with โค๏ธ by Hindol Roy Choudhury

About

Galaga-inspired arcade shooter with real-time hand tracking and computer vision controls.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors