• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
MRPRRSIDENT

MRPRRSIDENT

GAMEZACK

Public
Like
GAMEZACK
Home
Code
5
backend
1
shared
1
README.md
main.ts
new-file-8283.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
11/14/2025
Viewing readonly version of main branch: v5
View latest version
README.md

F1 Rainbow Racing Game

An interactive F1 racing game featuring:

  • 4+ F1 cars racing on unrealistic rainbow tracks
  • Multiple camera angles (overhead, chase, cockpit, track-side)
  • Real-time speedometers for all participants
  • Colorful rainbow track with dynamic lighting
  • Keyboard controls for player interaction

Project Structure

  • backend/index.ts - Main HTTP server using Hono
  • frontend/index.html - Game HTML template
  • frontend/game.js - Main game logic and Three.js implementation
  • frontend/style.css - Game styling
  • shared/types.ts - Shared TypeScript types

Controls

  • Arrow Keys / WASD: Control Player 1 car
  • C: Cycle through camera angles
  • R: Reset race
  • Space: Pause/Resume

Features

  • Real-time 3D racing with physics
  • Dynamic rainbow track that changes colors
  • Multiple AI opponents
  • Speed tracking and display
  • Immersive camera system
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.