pwalig/mini-RTS-zig-bot
bot client for https://github.com/pwalig/mini-RTS-server
bot client for mini-RTS-game
git clone https://github.com/pwalig/mini-RTS-zig-bot.git
cd mini-RTS-zig-bot
zig build -Doptimize=ReleaseSmall
Optionally set -Doptimize=ReleaseFast.ReleaseSmall is prefered due to fairly large delay between game ticks, meaning zig-bot does not need to be super performant.
For information about installing zig see: https://ziglang.org/learn/getting-started/
./mini-rts-zig-bot.exe <host> <port> [runModeOptions]
./mini-rts-zig-bot.exe [infoOptions]
<host> - IPv4 address of the server<port> - Port number of the server[runModeOptions]:--gamesToPlay <number> - Play <number> games then exit (by default zig-bot tries to play unlimited number of games)--dontWin - Stop mining resource when the bot is only one unit apart from winning[infoOptions]:-h, --help - Print help and exit-v, --version - Print version number and exitzig-bot is compatible with mini-RTS-server
| version | 1.x.x | 2.x.x | 3.x.x |
|---|---|---|---|
| 1.x.x | :x: | :x: | :heavy_check_mark: |
NOTE
columns: server versions
rows: zig-bot versions
x stands for any version number
Generally server will be 2 major versions ahead.