r/node • u/MacXou34 • 16h ago
Running dedicated game servers in Node for a browser racing game, where players open their own
Enable HLS to view with audio, or disable this notification
Voltane is a browser RC-car racing game. The race rooms run in Node, and since this week players can open their own dedicated servers: a name, a programme of tracks (including circuits other players built), their rules, open or private.
A few things that mattered:
- Rooms go lobby → loading → countdown, and the countdown waits until every connected player has finished loading (with a time limit so one slow phone can't hold everyone).
- Updates are announced 2 minutes before a new server version, so nobody gets cut mid-race.
- The same simulation package runs on the server and in the browser.
Play or open a server: playvoltane.com