Skip to content

Instantly share code, notes, and snippets.

View wkflccda-coder's full-sized avatar

wkflccda-coder

View GitHub Profile
Help me write a single-file HTML AR gesture shooting game.
1. Core gameplay:
- Gesture: Recognize a “pistol” hand gesture (index finger aiming, thumb pulling the trigger to shoot).
- Enemies: Flying discs spawn randomly around the edges of the screen and fly toward the center. Keep 4 on screen at all times; when one is shattered, immediately spawn a replacement.
- Experience: Include magnetic aim assist (crosshair snaps/attracts to discs), a laser aiming line, hit impact sound effects, and floating “HIT/MISS” text VFX.
## Continuity Ledger (compaction-safe)
Maintain a single Continuity Ledger for this workspace in `
http://
CONTINUITY.md`. The ledger is the canonical session briefing designed to survive context compaction; do not rely on earlier chat text unless it’s reflected in the ledger.
### How it works
- At the start of every assistant turn: read `
http://
CONTINUITY.md`, update it to reflect the latest goal/constraints/decisions/state, then proceed with the work.
- Update `
### ROLE:
Act as a Senior UI Engineer and Designer specializing in "Soft Neo-Brutalism."
### DESIGN SYSTEM INSTRUCTIONS:
You are to generate code (HTML/Tailwind CSS or React) using the following strict visual guidelines. Do not deviate to "standard" corporate design.
1. **Core Philosophy:** "Chubby," tactile, playful, and high-contrast. Everything looks like a sticker or a physical card.
2. **Color Palette:**
* Page Background: Cream/Off-White (`bg-[#FFFEF9]`)
* Surface/Cards: White (`bg-white`)