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.
- 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
- Three.js - 3D rendering
- Ammo.js - Physics engine (WASM)
- PeerJS - WebRTC peer-to-peer
- FastAPI - Python backend
- HTML5/CSS3 - Frontend
cd backend
pip install -r requirements.txt
python main.pyOpen http://localhost:8000 in your browser.
- W/↑ - Accelerate
- S/↓ - Brake/Reverse
- A/← - Steer Left
- D/→ - Steer Right
- Space - Handbrake
- R - Reset car
- C - Change camera
- Left joystick: Steering
- Right buttons: Gas/Brake