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. |
||
|---|---|---|
| .. | ||
| chess_accept.bin | ||
| chess_challenge.bin | ||
| chess_draw_offer.bin | ||
| chess_move.bin | ||
| chess_move_checkmate.bin | ||
| chess_move_promotion.bin | ||
| chess_resign.bin | ||
| chess_vectors.rs | ||
| ttt_challenge.bin | ||
| ttt_move.bin | ||
| ttt_move_win.bin | ||