Side-project · in development
FamilyKart · kart racing for my kids
A family-friendly kart-racing game as an Electron desktop app. A mini-engine with AI opponents, powerups, a chase camera and hand-built tracks. On top of Three.js, no game framework, vanilla JS for the game loop.

Whiteboard sketch · the game loop
What's in it
- 3D rendering on Three.js, custom scene graph and chase camera with smoothing
- Kart physics with grip, drift, and jump
- AI opponents with simple rubberbanding so the kids don't fall behind within three seconds
- Powerups (boost, shield, missile) on pickup pads
- HUD in a 2D canvas overlay on top of the 3D canvas
- Custom tracks: not procedural, just hand-built to keep them short and kid-friendly
Stack
Runtime
Electron (Windows portable .exe)
3D
Three.js (r169)
Game logic
Vanilla JS, custom state machine
UI / HUD
2D canvas overlay
Audio
Web Audio API
Build
electron-builder, portable target
No frameworks on top of Three. No React for the game itself. Vanilla JS, minimum dependencies, everything vendor'd where it can be. Tracks and karts are plain JSON, easy to tweak without touching code.
Status
In development. Playable, not shippable. No public release planned.