All projects

Sprinter, a childhood racing game rebuilt

My friends and I played Sprinter in primary and middle school, and it only had the 100m. I rebuilt it in React and added four more events and online races. Built in September 2026.

The Sprinter title screen: runners on a red track under the game's logo and its five modes

Five ways to race. The original had one.

Pick an event, then tap left and right in turn to run. The faster you alternate, the faster your runner goes.

  • 100mThe original race
  • 200mRound the bend
  • 100m hurdlesJump on time
  • 4x100m relayFour legs, one team
  • Online raceRace your friends live
Eight runners crouched at the 200m start as the starter calls Ready
The 100m just after Go, the player in pink pulling ahead at the 10 metre mark

Online races over WebSockets

One player creates a race and gets a code. Friends type the code to join, and a Node.js server relays every runner's position over WebSockets, so everyone sees the same race.

The game itself is a static site on Azure Static Web Apps. The race server runs beside it, and best times save to the records list.

The online race screen: a name field, create a race for 100m, 200m, hurdles or relay, or join one with a code

Tech stack

  • FrontendReact 18, JSX, built with Vite 5
  • RenderingHTML5 Canvas 2D and CSS
  • Game logicPlain JavaScript in one game module
  • MultiplayerBrowser WebSockets
  • ServerNode.js 18 HTTP and WebSocket server (ws)
  • RecordsA JSON file, no database
  • BrowserCanvas, Web Audio, Fetch, Local Storage
  • HostingAzure Static Web Apps, plus the Node race server

Original Sprinter art and music © Gamedesign

Runners crossing the 100m finish line past the photo-finish camera and the judges