realtime-game-loop

Installation
SKILL.md

Real-time game loop

Real-time play advances in fixed ticks of 1/120 s, never in frame time. A real-time game runs a typed-array sim on the UI thread inside a Reanimated frame callback; a turn-based game with a continuous phase (a ricochet shot, a cascade) runs that phase inside its pure reducer and replays it as a timeline. Either way a recorded run replays bit-exactly in Jest, on iOS and on Android. This skill ships the loop kit (src/core/realtime/, src/core/geom/), the real-time host (src/canvas/realtime/), a template game (a bouncing-orbs arena) and a checker that proves them.

Rules that must hold

Installs
5
GitHub Stars
12
First Seen
13 days ago