Swarmfront

Three.js, TypeScript, Vite. Free, in the browser, no account.

Two HQs, two Harvesters each, 400 scrap. Destroy the other HQ before they destroy yours. It is a whole real-time strategy game, built for a thumb first: one resource, eight units, six structures, four powers, and a draft of Titans once a match gets going.

Under it is a simulation that only moves when a command arrives, twenty times a second, and never touches a random number it did not seed. The AI is just another source of commands, so a match is a seed plus a list of orders, and every replay plays back exactly.

0:44. Gameplay is the real game, played by a script and filmed a frame at a time. No sound: the game makes its own in your browser.

How to play

Goal
Destroy the enemy HQ before they destroy yours. You are blue.
Scrap
The only resource. Harvesters mine it from fields and haul it home; Uplinks, crates, wrecks and bounty pay it too.
Build
Build places a Depot, a Fab or a Hangar. The Fab trains the ground army (Rovers, Darts, Mites, Bulwarks, Lancers); the Hangar, once a Fab stands, trains Wasps and Kites.
Select
Tap a unit, or hold and drag a box. Double-tap selects every unit of that kind. All selects the army.
Gestures
Drag from your selected units: a line spreads them along it, a loop rings an enemy, a flick sends them in a wedge.
Camera
Drag the ground to pan; pinch to zoom. The minimap and the HQ, Fab, Army and Alert chips jump the camera; Near and Far zoom.
Powers
Scrap Drop, Blackout, Mirage Swarm and Aegis Field, spent from a power bar that fills as the match goes on.
Titans
Each side bans one and picks two of the live Titans, from the Myriad, thirty to sixty Mites fused into one, to the Hive Carrier.
Modes
Skirmish an Easy, Normal or Hard AI, hold out in Last Stand, take the date-seeded Daily Op, or walk the Proving Ground tutorial. The ☰ menu has the rest.

More

This is the build of November 4, 2026 (commit 802aa87), built in the game's own repository and copied here. It runs in the frame above with its own code, sound and look.