The RCWeb Spacewar App (app/spacewar) is a foundational demonstration of the Asymmetric Pattern, transforming a large host screen into a continuous multiplayer space shooter arena where mobile devices act as dropping-in steering controls.


The engine in script.js relies entirely on manipulating raw HTML DOM elements via inline CSS positioning rather than utilizing a Canvas engine.
document.createElement("div"). The moveShip loop dynamically recalculates and injects ship.style.left, ship.style.top, and ship.style.transform = "rotate(...)" matrix updates on every 16ms tick.getShip(player)), the engine multiplies the active array length by 210 degrees (hue = ships.length * 210) applying a filter: hue-rotate(...) CSS rule to color-code ships and their missiles natively without requiring new image assets.Math.sqrt) against all ship coordinates inside the moveMissile evaluation phase. If a collision triggers on a vulnerable frame (frameTime > ss.nextRespawnTime), the missile is culled from the array and DOM.