Step through how two browsers find each other, then watch them play.
Pairing
Back
Next
Host
runs the game
/api/room
Upstash Redis
Guest
a friend's browser
host: runs the battle
data channel, peer to peer
guest: a mirror
Press → as the guest
key
guest's key down or up; drives the green 2P tank
frame
every tank, missile and terrain change, at most every 33 ms, about 1–2 KB (slowed down here)