lrgp-rs/tests
DeFiDude 4c2d6188f6 chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer)
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.
2026-05-01 15:55:08 -06:00
..
chess_accept.bin chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer) 2026-05-01 15:55:08 -06:00
chess_challenge.bin chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer) 2026-05-01 15:55:08 -06:00
chess_draw_offer.bin chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer) 2026-05-01 15:55:08 -06:00
chess_move.bin chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer) 2026-05-01 15:55:08 -06:00
chess_move_checkmate.bin chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer) 2026-05-01 15:55:08 -06:00
chess_move_promotion.bin chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer) 2026-05-01 15:55:08 -06:00
chess_resign.bin chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer) 2026-05-01 15:55:08 -06:00
chess_vectors.rs chess: add example + binary test vectors (challenge/accept/move/promotion/checkmate/resign/draw_offer) 2026-05-01 15:55:08 -06:00
ttt_challenge.bin apps: add Chess game; drop pre-release legacy code paths 2026-05-01 15:50:05 -06:00
ttt_move.bin apps: add Chess game; drop pre-release legacy code paths 2026-05-01 15:50:05 -06:00
ttt_move_win.bin apps: add Chess game; drop pre-release legacy code paths 2026-05-01 15:50:05 -06:00