Selected work / Playable browser game
Car Racing
A top-down racing game with ten circuits and seven computer drivers. Choose your car paint and start a three-lap race, or practice first to learn the corners.
Solo + computer drivers
Start a race in your browser.
Open the game, choose your paint, and select Start race. Seven computer drivers join by default. You can turn them off or choose Practice first for a quieter lap.
Open full gameNo sign-in needed. Each visitor runs a separate solo race. Public multiplayer is not available in this demo.
How to play
Learn the controls.
- AccelerateW or ↑
- Brake or reverseS or ↓
- SteerA / D or ← / →
- DriftHold Space
- Return to checkpointR
- On a phone or tabletUse the on-screen driving buttons. Landscape gives the controls more room.
Keep the game tab active during a race. Reloading starts a fresh simulation.
Inside the project
Driving, timing, and race rules.
The game combines JavaScript physics, Canvas rendering, and a Web Worker that runs the race simulation in your browser.
A shared countdown starts each three-lap race. Once the first driver finishes, the remaining drivers have 30 seconds to finish. The results mark unfinished drivers as “did not finish” (DNF), and you can start another heat or change circuits.
- JavaScript
- HTML + CSS
- Canvas
- Web Workers
- Keyboard + touch input