Skip to content

rustyscreeps/screeps-game-api

Repository files navigation

screeps-game-api

Build Status crates.io version badge dependency status docs.rs version badge

Rusty Screeps Logo

Typed bindings to the Screeps in-game API for WASM Rust AIs.

Also the homepage for tools relating to writing Screeps AIs in Rust.

screeps-game-api is a Rust binding to the JavaScript APIs for programs compiled to WASM using wasm-pack.

Please see the screeps-starter-rust example project for an example with instructructions for getting started, or the docs for a detailed API reference.

Writing Screeps code in Rust can be nice, but it can also be annoying. If you have tips, tricks, or other things you'd like to share, make an issue! We need to write more documentation, and if we have enough ideas, we can start an mdbook for this repository.

If you need help or want to share feedback, feel free to open an issue or come say "Hi!" on the official Screeps Discord in the #rust channel!