turnbase-session 0.1.0

The Session port for Turnbase: in-memory and file-backed hosts behind one request/response interface
Documentation

turnbase-session

crates.io docs.rs

The Session port for the Turnbase engine.

One request/response interface for hosting a match, with two implementations: an in-memory host for tests and single-process play, and a file-backed host that persists between calls.

Because a [turnbase] state serializes with its random generator position included, a file-backed session resumes from a single snapshot rather than replaying the action log.

Install

[dependencies]
turnbase-session = "0.1"

Where this sits

Part of the turnbase workspace. See the workspace README for the full crate list and ARCHITECTURE.md for the design.

License

Dual-licensed under either of Apache-2.0 or MIT at your option.