Mob GP
The moped grand prix, in 3D in your browser
Overview
Mob GP is a 3D racing game with legendary French mopeds: the Peugeot 103 MVL and RCX, the MBK 51, the Magnum Racing and the AV88 Mobylette. You race on Breton tracks (the town of Mauron, an agricultural show, an autocross...), earn francs and tune your moped in the workshop. The game runs right in the browser, on a computer as well as on a phone, with a keyboard, a touch screen or a gamepad. It is also available on the Microsoft Store, and coming soon to Xbox. It is in French.
Architecture
- A 100% browser game in Three.js, built with Vite. The mopeds, the tracks and the scenery are modeled in code, part by part. Only the rider is an animated character, whose arms and legs follow the handlebars and the pedals through inverse kinematics.
- Home-made physics and AI: spline tracks, grip depending on the surface, jumps, slipstream, pedaling, and opponents who match the tuning of your moped.
- No sound files: the two-stroke engine, the crowd and the music are synthesized with WebAudio. The engine's tone changes with the exhaust fitted in the workshop.
- Smooth everywhere: the resolution adapts to the frame rate during a race, and the game installs like an app (PWA), playable offline. The Microsoft Store app is that same PWA, packaged with PWABuilder: same accounts, and updated with every deployment of the site.
- A small ASP.NET Core server (.NET 10) serves the game, the API for riders and records (hashed codes, impossible times kept out of the rankings) and the records and rider pages for search engines. Riders fit in a single JSON file kept in memory: no database needed.
- Continuous deployment: every push to
mainbuilds and deploys the game with GitHub Actions.
Screenshots

Mauron
The start in the countryside, before entering the town

The agricultural show
Dirt track, straw bales and slipstream

The workshop
Cylinder, exhaust, carburetor... every part can be tried before buying it