I have created F1 Adventures, a browser game built with React, Vite, Canvas 2D, and Tailwind CSS.
What Was Created & Key Features
-
Fast, Addictive Core Loop:
- 5-Red-Lights Launch: Authentic countdown sequence with escalating audio tones leading into "LIGHTS OUT & AWAY WE GO!"
- 3 Dynamic Modes:
- Endless Sprint: High-speed traffic overtaking streak with combo multipliers and instant restarts.
- Grand Prix Championship: Multi-lap iconic circuits (Monza, Silverstone Rain, Monaco Sunset, Las Vegas Neon Night) with dynamic weather and strategic tyre management.
- Apex Master: Precision racing line clipping challenge.
- Interactive Pit Stop Minigame: When tyres wear down, steer into the pit lane for an intense 4-wheel-nut pneumatic gun timing challenge. Achieve sub-2.0s pit stops for world record bonuses!
-
Tight Keyboard & Touch Controls:
- Desktop:
A / D or Arrow Keys for Steering, W / Space for DRS Nitro deployment, S for Regenerative Braking, P for Pause, and R for Instant Restart.
- Mobile / Touch: Ergonomic on-screen touch controls with tactile button highlights and haptic response.
-
Juicy Feedback & FX:
- 60 FPS Canvas Physics Engine: Pseudo-3D horizon road curvature, dynamic background silhouettes, rain droplets on screen, and tire mark trails.
- Particle Systems: Exhaust sparks, smoke plumes, carbon fibre crash debris, rain splashes, speed motion lines, and victory confetti.
- Web Audio Synthesizer: Engine pitch shifts with real-time speed/RPM, DRS activation whooshes, pneumatic wheel guns, tire squeals, overtake chimes, and crash impacts. Completely self-contained with persistent sound toggles.
- Screen Shake Engine: Dynamic camera vibration during crashes, DRS ignition, and oil slick slide hazards.
-
Garage, High Scores & Telemetry HUD:
- F1 Steering Wheel Telemetry HUD: Shift Light LED bar (Green → Yellow → Red), digital speedometer (km/h), gear indicator, DRS charge meter, and tyre wear status.
- F1 Garage & Customization: Unlock iconic team liveries (Thunder Bull, Prancing Crimson, Silver Arrow, Papaya Burst, Retro Marlboro 88, Neon Cyberpunk, Gold Champion Edition) and upgrade engine top speed, acceleration, DRS power, and pit crew efficiency.
- Local Leaderboard & Career Achievements: Track high scores across modes, top speed records, overtakes, fastest pit stops, and unlockable trophies saved in
localStorage.
Files built: index.html, src/index.css, src/utils/sound.ts, src/utils/storage.ts, src/game/tracks.ts, src/game/types.ts, src/game/renderer.ts, src/game/Engine.ts, src/components/HUD.tsx, src/components/TouchControls.tsx, src/components/PitStopOverlay.tsx, src/components/GarageModal.tsx, src/components/LeaderboardModal.tsx, src/components/AchievementsModal.tsx, src/components/GameModal.tsx, src/components/StartScreen.tsx, src/App.tsx