Skip to content
Jean Chassoul edited this page Feb 3, 2020 · 17 revisions

starcraft-sif

Add your own bot

Place your bot to --bots directory.

Use this structure:

  • /AI/ - put your bot binaries here.

  • /read/ - folder where you can put your config files, initial opponent modelling etc.

    It's contents may be overwritten. After running games contents of the write folder can be copied here, see below.

  • /write/ - folder where bot can write.

Note that bw creates directories in write folder, for each game it's own. The contents of the write/game_xxx folder will be copied to the read folder.

  • /bot.yml - bot configuration. Minimal config is following:

      name: TCPZerg
      race: Zerg
      type: Linux
      bwapi: 4.2.0
    

    name must match [a-zA-Z0-9_][a-zA-Z0-9_. -]{0,40}

    race can be one of Terran, Zerg, Protoss

    type can be one of Java, DLL, EXE, Linux

    bwapi can be one of 4.1.2, 4.2.0, 4.4.0

Clone this wiki locally