3 releases

new 0.0.14-dev Oct 16, 2024
0.0.12-dev Sep 23, 2024
0.0.11-dev Sep 23, 2024

#873 in Network programming

Download history 319/week @ 2024-09-19 66/week @ 2024-09-26 14/week @ 2024-10-03

399 downloads per month
Used in 3 crates

MIT license

45KB
1K SLoC

🌀 Nimble Protocol

Nimble Protocol is a lightweight, deterministic simulation protocol designed for networked games. It supports connecting clients to a host, downloading game state, and synchronizing predicted inputs (steps) with authoritative decisions. The protocol ensures that all participants in a game session stay in sync by sending and receiving the necessary messages. 🕹ī¸

🚀 Features

  • Version Support: Ensures compatibility by checking the deterministic simulation version during connection.
  • Download Game State: Clients can request a full download of the game state to stay in sync.
  • Participants Management: Add or remove participants from the game.
  • Step Synchronization: Send predicted inputs (called steps) and receive authoritative steps from the host.

Dependencies

~220KB