scmJS docs

How good the sample bots are

Vanta and Starter, two of the play page's own bots, played against the game's own computer as each race against each race, on Boxer, Challenger, Astral Balance, Lost Civilization and Frenzy with two seeds each: 90 games a bot. A game still going at 30 minutes counts as a draw.

Bot Won Drawn Lost As terran As protoss As zerg
Vanta 53 18 19 17-7-6 25-3-2 11-8-11
Starter 50 18 22 16-9-5 24-4-2 10-5-15

The race columns are won-drawn-lost. Starter is the one to read and copy; Vanta is longer. It has a plan for each race as data: what to build, research and upgrade once the supply reaches a number. Terran masses marines and medics with stim packs, protoss masses zealots from as many gateways as the money keeps busy, and zerg makes zerglings and hydralisks from four hatcheries. Terran and protoss send a dozen at a time and keep going; zerg gathers at a rally in front of its base in waves that grow, and turns on whatever comes to it. Vanta's army comes ahead of its workers while the base is under attack.

Each of those choices was measured against the others on the same 90 games. Medics with stim beat marines alone. Zealots alone beat zealots with dragoons and upgrades. Sending reinforcements in small groups did worse than waiting for the next wave, and pulling a beaten wave back made no difference. Zerg is the weak race of both bots: about a third of its games won.

Gather, the page's third bot of its own, is written on the interface underneath as an example of it: it mines, keeps supply, trains fourteen workers, puts up one production building and sends every four fighters to the enemy's start.