mirror of
https://github.com/ratspeak/lrgp-rs
synced 2026-08-12 18:07:21 -04:00
Hand-crafted msgpack vectors with deterministic 8-byte nonces. They live in tests/chess_*.bin and are byte-identical to the copies in lrgp-py under tests/vectors/ — that cross-language fixture is what enforces wire compatibility between the two reference implementations. msgpack maps are unordered by spec, so the vector tests assert decode-correctness (field values match expected) rather than byte-identity round-trip. The example demonstrates challenge -> accept -> first move with two LrgpRouter instances. Full-game simulation needs a richer two-peer state-sync harness than this single-process demo provides. |
||
|---|---|---|
| .. | ||
| basic_envelope.rs | ||
| chess_game.rs | ||
| session_lifecycle.rs | ||
| tictactoe_game.rs | ||