https://github.com/rustyscreeps/screeps-game-api
Typed bindings to the Screeps in-game API for WASM Rust AIs
https://github.com/rustyscreeps/screeps-game-api
rust screeps wasm
Last synced: 3 months ago
JSON representation
Typed bindings to the Screeps in-game API for WASM Rust AIs
- Host: GitHub
- URL: https://github.com/rustyscreeps/screeps-game-api
- Owner: rustyscreeps
- License: mit
- Created: 2018-02-28T23:48:02.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2026-03-12T16:49:08.000Z (4 months ago)
- Last Synced: 2026-03-12T22:55:38.564Z (4 months ago)
- Topics: rust, screeps, wasm
- Language: Rust
- Homepage:
- Size: 1.38 MB
- Stars: 144
- Watchers: 8
- Forks: 45
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
screeps-game-api
================
[![Build Status][actions-badge]][actions-builds]
[![crates.io version badge][cratesio-badge]][crate]
[![dependency status][deps-badge]][deps]
[![docs.rs version badge][docsrs-badge]][docs]
![Rusty Screeps Logo][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](https://github.com/rustyscreeps/screeps-game-api/issues)
or come say "_Hi!_" on [the official Screeps Discord](https://discord.gg/screeps) in the `#rust`
channel!
[screeps]: https://screeps.com/
[`wasm-pack`]: https://rustwasm.github.io/wasm-pack/
[screeps-starter-rust example project]: https://github.com/rustyscreeps/screeps-starter-rust/
[actions-badge]: https://github.com/rustyscreeps/screeps-game-api/actions/workflows/check.yml/badge.svg
[actions-builds]: https://github.com/rustyscreeps/screeps-game-api/actions/workflows/check.yml
[cratesio-badge]: https://img.shields.io/crates/v/screeps-game-api.svg
[crate]: https://crates.io/crates/screeps-game-api/
[deps-badge]: https://deps.rs/repo/github/rustyscreeps/screeps-game-api/status.svg
[deps]: https://deps.rs/repo/github/rustyscreeps/screeps-game-api
[docsrs-badge]: https://docs.rs/screeps-game-api/badge.svg
[docs]: https://docs.rs/screeps-game-api/
[logo]: ./logo.png