scmJS docs

Bots

Computer players on the game's own engine, on the play page or from the command line: playing against one, writing one in JavaScript, bringing a BWAPI bot, bots for mods, and the reference.

A bot is a computer player somebody wrote. On the play page at scmjs.dev/play, which runs StarCraft 1.16.1's own engine in your browser, a bot takes a computer's seat against you. From a terminal, scmjs bot plays bots on the same engine with no page open, against the game's own computer players and against each other.

Two kinds of bot play here. One is written in JavaScript: a single file, with nothing to build. The other is a BWAPI bot in C++, the kind the StarCraft bot tournaments play, built from its source into one file.

You want to Start at
Play against a bot Playing against a bot
Write a bot A first bot: JavaScript, about fifty lines, playing within minutes
Play a BWAPI bot, yours or someone else's Bringing a BWAPI bot
Make a bot for a mod Bots for mods
Know what bots cannot do here yet What is not there yet
Look something up The short way and the interface underneath, the two references for JavaScript bots