I have built a complete, interactive Carnival Midway Application with game booths, prize displays, ticket counter, flashing lights, and festive fairground atmosphere.
🎪 Features Included:
-
Festive Fairground Atmosphere & Audio Engine:
- Night, Sunset & Vaporwave Theme Switcher: Starry skies, glowing horizon Ferris Wheel with turning cabins, rollercoaster silhouettes, and canopy string lights with chasing neon bulb animations.
- Web Audio Synthesizer: Procedural carnival Calliope Carousel Organ BGM music loop and sound effects (ring toss sling, balloon pop explosions, hammer smash thuds, bell dings, duck quacks, ticket dispenser rolls).
-
6 Interactive Midway Arcade Game Booths:
- ⭕ Ring Toss Bottleneck: Sling rings onto glass milk bottles with aim angle and power meter gauge.
- 🤡 Whack-A-Clown: Arcade grid with popping mischievous clowns, golden king clowns, and bombs to avoid.
- 🎯 Balloon Pop Darts: Aim and toss darts at floating helium balloons to trigger popping sound effects & ticket cascades.
- 🔨 High Striker Hammer: Time your sledgehammer swing strength meter to hit 100% and ring the top bell for the ringer jackpot!
- 🦆 Swirling Duck Pond: Flip bobbing yellow rubber ducks in a water stream to reveal secret multiplier numbers.
- 🔮 Madame Zora Fortunes: Consult the glowing crystal ball for prophecies, lucky numbers, and ticket gifts.
-
Ticket Counter & Daily Refills:
- Live ticket balance tracking and transaction ledger.
- Daily Luck Wheel spin with prizes up to 500 tickets.
- Midway Carnival Trivia for ticket bonuses & courtesy ticket refills.
-
Grand Prize Barn & Mystery Box:
- Tiered redemption catalog with Plushies, Novelties, Rare Keepsakes, and the Champion Midway Trophy.
- Interactive Prize Shelf where earned plushies can be inspected and squeaked.
- Mystery Box unboxing with confetti drops.
-
Snack Stand Power-Ups:
- Buy Cotton Candy, Popcorn, Funnel Cake, and Caramel Apples for active game boosts (Sugar Rush, Double Tickets, Extra Time).
-
Fairgoer Passport & Achievements:
- Collect stamp badges, track progress, and unlock visitor rank titles. Persistent state using
localStorage.
Files built: index.html, src/utils/sound.ts, src/index.css, src/types/carnival.ts, src/data/carnivalData.ts, src/context/CarnivalContext.tsx, src/components/Navbar.tsx, src/components/FairgroundAtmosphere.tsx, src/components/TicketCounterModal.tsx, src/components/PrizeShopModal.tsx, src/components/SnackStandModal.tsx, src/components/PassportModal.tsx, src/components/booths/RingTossBooth.tsx, src/components/booths/WhackClownBooth.tsx, src/components/booths/BalloonDartsBooth.tsx, src/components/booths/HighStrikerBooth.tsx, src/components/booths/DuckPondBooth.tsx, src/components/booths/FortuneTellerBooth.tsx, src/components/MidwayWalkway.tsx, src/App.tsx