Spacewar!
Two-player local space duel with star gravity, screen wrapping, torpedoes, and particles — the very first video game.
Built for rung 9 of the 20 Games Challenge.
Controls: P1: A/D rotate, W thrust, S fire | P2: ← → rotate, ↑ thrust, ↓ fire | R restart
Source: examples/spacewar
Exercises: asset-loader, attach, audio, collision, cooldown, input, lifetime, math, motion, particles, render-canvas2d, spatial, tick, transform.