By BluffKing · · Updated
Fairness Checks from Hand Review
Review hands off the hand ID to the fairness tool. Load, check and download the bundle in your browser, and learn what each result means.
Separate the review shortcut from the proof verdict
BluffKing’s hand-review screen links to the fairness tool without issuing its own “verified” verdict. The review-tool-fairness button in client-game/src/views/ReviewView.vue passes the current hand ID to /fairness. Players get a short path from a hand to its evidence, while the proof scope and result remain together.
What the verifier checks
client-game/src/views/tools/FairnessVerifyView.vue loads a hand’s verification bundle (scheme pf-shuffle-v2) from GET /api/history/hands-fairness?id=<uuid>, which answers only players dealt into that hand. The bundle carries a shuffle proof that the deck the dealer locked before the deal is exactly one standard 52-card deck, the player seeds that fixed the final order, and decryption proofs for the cards the requester may see: the board, showdown and voluntarily shown cards, and their own hole cards. No dealer seed is ever published, and folded and undealt cards stay encrypted. A pass shows that the cards a player saw came from the committed deck; it does not prove that the server never saw the cards, because the separate dealer process knows the deck it shuffled.
Signed-in players can select a recent hand or enter an ID; a hand ID passed from review is verified automatically once it loads.
The check runs in the browser: the repository’s mp-wasm module, the mental-poker verifier compiled to WebAssembly, checks the proofs locally and compares them with the record this device kept during the hand, if it has one; the table’s Fairness details use the same check. The server supplies the proofs but issues no verdict. Players can also download the bundle JSON and check it offline with pf_verify, which prints the proven board and hole cards.
Not applicable does not mean cheated
The browser reports a proof mismatch, a proof it could not load, or incomplete evidence from this device separately. Advanced encrypted dealing has its own verification mechanism.
Keep a trust claim beside its evidence, result and limits. A review screen can offer the shortcut; the verdict must come from running the applicable verifier.