FlatWorld

Warp-accelerated 2D physics with explicit FEM, impulse rigid bodies, and mixed-domain contact — plus StateLeWM, one latent world model with three controllers (CEM, BPTT, PPO). Play You vs AI below (drag on the YOU panel, or choose WASD in Settings).

You vs AI — Push-T

Seat the T on the ghost goal. First side to succeed wins.

YOU 0 WINS
VS 0 DRAWS
AI 0 WINS
connecting… Online · —
AI
ROUND TIME—

Drag anywhere on the YOU panel to move · release to stop · Settings for WASD

Settings

Sound starts after your first interaction. Your choices are saved on this device.

Learning stacks

One object-centric state + tactile world model (~320K params). Controllers differ; the WM stays the same.

ParadigmTasksResult
WM + CEMPush · Two-room · Reacher96–98%
WM + BPTTSuperMimic-2Dmulti-skill
WM + PPOPush-T90% (36/40)

StateLeWM

StateLeWM one-step world model StateLeWM inference loop

Demos

Promo clips — also on the media page.

Engine gallery

Live-rendered scenes from the test2D suite.

Quick start

pip install -r requirements.txt && pip install -e . · local game python -m game --mode pusht · docs: theory, paradigms, learning. Manuscript forthcoming on arXiv (cs.RO).