All Projects → rustyscreeps → screeps-game-api

rustyscreeps / screeps-game-api

Licence: MIT license
Typed bindings to the Screeps in-game API for WASM Rust AIs

Programming Languages

rust
11053 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to screeps-game-api

screeps-grafana
Pretty graphs for screeps
Stars: ✭ 61 (-38.38%)
Mutual labels:  screeps
creeptalk
Giving Creeps Social Skills Since 2016
Stars: ✭ 14 (-85.86%)
Mutual labels:  screeps
Screeps-Typescript-Declarations
The repository for *Screeps's* TypeScript type definitions.
Stars: ✭ 69 (-30.3%)
Mutual labels:  screeps
creep-tasks
Screeps plugin for a flexible method of controlling creep actions
Stars: ✭ 45 (-54.55%)
Mutual labels:  screeps
screeps-ConsoleStats
Output stats directly to the screeps console
Stars: ✭ 16 (-83.84%)
Mutual labels:  screeps
screeps console
Standalone Interactive Screeps Console
Stars: ✭ 54 (-45.45%)
Mutual labels:  screeps
screeps-commander
用于游戏《Screeps》的移动端控制台 WEB 应用
Stars: ✭ 18 (-81.82%)
Mutual labels:  screeps
screeps-multimeter
The most useful tool on your screeps workbench.
Stars: ✭ 69 (-30.3%)
Mutual labels:  screeps
screeps-starter-rust
Starter Rust AI for Screeps, the JavaScript-based MMO game
Stars: ✭ 55 (-44.44%)
Mutual labels:  screeps
screeps notify
Send messages (SMS, Slack) from inside Screeps Scripts
Stars: ✭ 21 (-78.79%)
Mutual labels:  screeps
screeps-obsolete
Obsolete - Codebase for screeps game.
Stars: ✭ 16 (-83.84%)
Mutual labels:  screeps
The-design-of-OverDom
the design pattern of OverDom, semi-auto AI in the Screeps
Stars: ✭ 63 (-36.36%)
Mutual labels:  screeps
cppreeps
WASM C++ Screeps API and utilities pack (beta, proof-of-concepts)
Stars: ✭ 38 (-61.62%)
Mutual labels:  screeps

screeps-game-api

Linux Build Status crates.io version badge 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 stdweb.

Also in this organization is cargo screeps, a binary program which wraps cargo web and lets one directly upload Rust WASM code to Screeps servers.

These two tools go together well, but do not depend on eachother. cargo-screeps can compile and upload any screeps WASM project buildable with stdweb's cargo-web, and screeps-game-api is usable in any project built with cargo-web.

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 Slack in the #rust-wasm channel!


Here's a quickstart for what you need to get going. More documentation will be made in the future.

# 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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].