Crates.io | nimble-assent |
lib.rs | nimble-assent |
version | 0.0.17-dev |
source | src |
created_at | 2024-01-30 21:42:46.517998 |
updated_at | 2024-10-24 10:25:57.793727 |
description | Authoritative state |
homepage | |
repository | https://github.com/nimble-rust |
max_upload_size | |
id | 1120739 |
size | 11,905 |
Nimble Assent is a Rust library for deterministic simulation of game logic based on player inputs (called steps). It ensures that all participants in a multiplayer game process the same input in the same order, leading to identical results.
The name "Assent" was chosen because it means agreement, in this context that assent makes sure that the deterministic simulation is updated so all clients agree on the same deterministic simulation.
Nimble Assent's primary structure is the Assent
struct, which manages the deterministic application of authoritative player steps over game ticks. It provides:
Add this to your Cargo.toml:
[dependencies]
nimble-assent = "0.0.17-dev"
This project is licensed under the MIT License - see the LICENSE file for details.