nathanrenting.dev
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.

Hand-drawn sketch: Electron app with a chase cam above a racetrack loop, three karts (PLAYER + AI 1 + AI 2), powerups (BOOST, SHIELD, MISSILE), annotations '60 FPS · Three.js · vanilla JS' and 'AI rubberbanding'.

Whiteboard sketch · the game loop

What's in it

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.