Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rush Racing 🏁

cursorful-video-1774465935043.mp4
cursorful-video-1783224217363.mp4

A multiplayer 3D racing game built with Three.js, Ammo.js physics, and WebRTC peer-to-peer connections.

Features

  • Multiplayer Racing: Race against friends in real-time using WebRTC (PeerJS)
  • Physics-Based Driving: Realistic car physics with Ammo.js (Bullet Physics)
  • Multiple Tracks: 3 unique race tracks with different layouts
  • Checkpoint System: Race through gates and track lap times
  • Leaderboard: Compete for best times
  • Party System: Create/join racing parties with simple codes
  • Mobile Support: Touch controls for mobile play
  • Car Customization: Choose from various car colors

Tech Stack

  • Three.js - 3D rendering
  • Ammo.js - Physics engine (WASM)
  • PeerJS - WebRTC peer-to-peer
  • FastAPI - Python backend
  • HTML5/CSS3 - Frontend

Quick Start

Backend

cd backend
pip install -r requirements.txt
python main.py

Play

Open http://localhost:8000 in your browser.

Controls

Desktop

  • W/↑ - Accelerate
  • S/↓ - Brake/Reverse
  • A/← - Steer Left
  • D/→ - Steer Right
  • Space - Handbrake
  • R - Reset car
  • C - Change camera

Mobile

  • Left joystick: Steering
  • Right buttons: Gas/Brake

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages