Hakolkal
Start a Project

Project

JP Racing (Browser Racing Game)

Fork & Modernization

Live Demo

I adapted pmndrs/racing-game, an open-source React Three Fiber driving game, and moved it from its 2023 stack onto React 19, R3F 9 and three.js r187, fixing the rendering and particle bugs the newer three.js introduced. I rebranded it as JP Racing with my own start screen and HUD, replaced its hosted leaderboard (which shipped a public key in the source) with a local best-lap board, and added touch controls so it plays on phones. Deployed to GitHub Pages through GitHub Actions, steady 60 fps in my tests.

Stack

  • Three.js
  • React Three Fiber
  • drei
  • React
  • TypeScript
  • cannon-es
  • Zustand
  • Vite

See it

Want something like this?

Tell me what you are building, or what you are still doing by hand, and I will tell you how I would approach it. No commitment.

More projects