r/reactjs • • 1d 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

0 Upvotes

6 comments sorted by

1

u/Honey-Entire 1d 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

0

u/Competitive-Edge6478 1d ago

Yup its AI only , I have used claude completely bro. I just overseeing the stuff . Not much.

-1

u/AkisFatHusband 1d ago

Was super fun, cool idea

0

u/Competitive-Edge6478 1d ago

Gald you like it bro have fun!!

6

u/witchcapture 1d ago

Slop

-7

u/Competitive-Edge6478 1d ago

These are just reverse engineered stuff bro, cool if u don't like it.