Skip to content

xilexio/xi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

921b7bc · Dec 29, 2024
Mar 24, 2023
Dec 27, 2024
Apr 20, 2023
Dec 29, 2024
Mar 17, 2023
Nov 22, 2024
Mar 17, 2023
Dec 22, 2024
Apr 1, 2023
Apr 10, 2023
Jun 11, 2023

Repository files navigation

ξ (xi) - a (not yet) fully automated screeps bot

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

Flag orders

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.

About

A Screeps bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published