GAME-2D-001 // ARCADE WASM

Pong Elastic Billiards

Two-paddle arcade billiards with deterministic seeded AI attract mode, constant-speed velocity renormalization, minimum horizontal bounce clamping, and continuous swept-AABB reflections.

Interactive Arcade Stage

Pong Elastic Billiards poster preview
W / S or Up / Down Move paddleP Pause or resumeR Reset matchM Toggle Human or AIEsc Release focus

Steps: 0

Invariant: OK

Metric: 0.0

EMC Reference
EMC-GAME-001 (Constant-speed elastic billiard & swept-AABB contract)
Category
games2d
Deterministic Seed
8001
Runtime Bundle
games2d

Governing Invariant & Equation

Constant-Speed Reflection & Horizontal Clamp

‖v‖=v0,|vx|≥vx,min,y∈[r,H-r]

Verification Contract & Falsification

Constant speed ||v|| == v0 within 1e-6 after every reflection, minimum horizontal speed |vx| >= vx_min, continuous swept-AABB keeping y in [r, H-r], and score+reset on x < 0 || x > W.

Falsified if post-bounce speed drifts past 1e-6, ball stalls vertically with |vx| < vx_min, or ball escapes horizontal floor/ceiling.