Repository navigation
Play this version: v13
Download the build: v13.zip
Online duels: send a friend a link (or let them scan a QR code) and play a 1v1 skirmish against each other over the internet, phone to phone or in any two browsers. Plus a Copy replay JSON button on every end screen, and a new page showing every 3D model in the game.
- Online duels 🌐: tap Duel a friend online on the Skirmish tab. The lobby shows an invite link and a QR code of it, with Share and Copy buttons. Your friend scans the code with their camera or opens the link, taps Join the battle, and you're both picking openers on your map and mutators, blue against red. It's built on the same lockstep engine as sound duels: both browsers run the whole simulation, and only the players' orders cross the network. They travel through a tiny relay server, about 200 lines of Python on Fly, which pairs the two browsers by room code and forwards messages between them without storing anything. A dropped connection (a network switch, a phone that slept) reconnects by itself and the match carries on. Rematch swaps sides and meets in the same room. Online duels work in every browser, need no microphone, and count toward the same win/loss record as sound duels. PR #38
- Copy replay JSON 📋: every end screen now has a Copy replay JSON button, whether you won, lost or drew: skirmish, the Daily Op, Last Stand, Ops, AI vs AI, duels, and even a replay you're watching. It copies the whole battle as a record: the setup, every order both sides gave, and a checksum every 10 seconds. Paste it into 🎬 Watch a replay on the menu to watch the match again exactly as it was played. Replays now also support Last Stand and Ops battles. PR #38
- 3D models page: models.html shows every unit's 3D model beside its info card, to turn and zoom, with its animations to play (walk, aim, fire, fall). A Buildings tab covers every building, plus the Uplink relay and the supply crate. PR #34
- Sound duel noise warning: the sound duel's lobby now warns that the link plays a constant high-pitched noise for the whole match, which many people find unpleasant and which may cause headaches. PR #36
- Smaller changes: a sound duel now goes full screen only after the audio link is set up, so the microphone prompt isn't hidden behind it. The project is now under the Apache License 2.0.
Commit: 63e652e