Skip to content

Isfirs/screeps-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screeps-starter-rust

Starter Rust AI for Screeps, the JavaScript-based MMO game.

This uses the screeps-game-api bindings from the rustyscreeps organization.

It's also recommended to use cargo-screeps for uploading the code, but the code should still compile if using cargo-web directly instead.

The documentation is currently a bit sparse. API docs which list functions one can use are located at https://docs.rs/screeps-game-api/.

Almost all crates on https://crates.io/ are usable (only things which interact with OS apis are broken).

stdweb can be used to embed custom JavaScript into code.

Quickstart:

# clone:

git clone https://github.com/rustyscreeps/screeps-starter-rust.git
cd screeps-starter-rust

# cli dependencies:

cargo install cargo-screeps

# configure for uploading:

cp example-screeps.toml screeps.toml
nano screeps.toml

# build tool:

cargo screeps --help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages