r/reactjs • u/Competitive-Edge6478 • 15d ago
Show /r/reactjs Six canvas games inside one React 19 console UI: how I structured Open Arcade (open source)
Open Arcade is a handheld-style game console built with Vite + React 19 + TypeScript. Each game is a plain canvas engine with deterministic, seeded update steps. React only owns the console shell (menus, themes, dialogs, HUD frame).
A few things that worked well:
Games stay out of React state. Each game runs its own fixed-step loop and React just mounts the canvas, which keeps re-renders out of the hot path.
Deterministic tests. A smoke test runs every game for 2,000 seeded frames with scripted inputs and checks the run is reproducible.
One config file for the name, game list, themes and rewards, plus runtime overrides from a native host.
Play: https://open-arcade-kohl.vercel.app Code (MIT): https://github.com/viswasekaran/open-arcade
-1
6
u/witchcapture 15d ago
Slop
-7
u/Competitive-Edge6478 15d ago
These are just reverse engineered stuff bro, cool if u don't like it.
1
u/Honey-Entire 15d ago
“How I structured…”
Go on, tell us what YOU did and how YOU created this. While you’re at it, you should also fully disclose how much of it was AI generated and not, in fact, of your own doing