A bot written in Rust for the Screeps: World game.
Uses the screeps-game-api bindings. cargo-screeps is used for deploying the bot to Screeps servers. Initial implementation based on screeps-rust-starter.
Setup:
# Install CLI dependency.
cargo install cargo-screeps
# Copy the example config and fill it with credentials to Screeps servers.
cp screeps.example.toml screeps.toml
Build without deployment:
cargo screeps build
Build and deployment to selected target present in screeps.toml
:
cargo screeps deploy -m mmo
The bot can be partially controlled manually using flags. The action performed depends on the prefix of the flag's name.
claim
flags placed on a controller make the nearest RCL3+ room spawn a claimer, move it to that room and claim it,build
flags placed on construction sites in other rooms make the nearest RCL3+ room build them.