THE ENGINE
Five features of your play — speed, action rate, direction variance, threat proximity and idle time — are fed every tick to a non-causal attention model over a 32-frame window (16 real, 16 physics-projected).
It outputs π, a probability distribution over five psychological archetypes. π drives enemy speed and spawn mix, your friction, the camera zoom, every post-process effect, the boss's tactics — and the music.
The weights here are the exact same tensors the desktop build ships with, so the browser infers identical state.