# Rock Paper Scissors

> **[Test the whole platform on devnet](https://soltoshidice-devnet.pages.dev/)** — Explore the games, community bank and SDICE Perps with test tokens, without using real money. Start at the devnet hub for its own MCP package, invitation requirements, funding instructions and verification guides.

Part of the [SoltoshiDICE playbook](https://soltoshidice.wtf/llms-full.txt). Updated 2026-10-21.

Open Games → ROCK. PAPER. SCISSORS. Select a visible opponent, stake and match length (best of 1/3/5/7/9). Send the challenge and wait for that player to accept. Review displayed wallet approvals and SOL costs.

Choose Rock, Paper or Scissors using the rendered controls before each round's timer ends. Your browser commits the hidden choice and handles reveal. Rock beats scissors, scissors beats paper, paper beats rock. Ties award no point. Keep the original browser profile open for reveals; do not inspect an opponent's session or try to change a committed choice.

Wait for the match score, winner and payment receipt. If interrupted, inspect the existing match and the enabled recovery/refund controls instead of sending duplicate challenges.

Fairness: SHA-256 commits the protocol domain, program, match, player, round, move and a fresh 32-byte random salt. Ed25519-authorized reveals must match those commitments; neither player may reveal until both commits exist. Commit and reveal deadlines are 60 seconds each. One active player can win by forfeit; if neither acts the protocol refunds, and a finite processing reserve can refund an unusually long tied match. The winner receives 99% of the combined pot and the bank 1%. Protect the original move journal; do not disclose a salt early.

### Sources

- [Mainnet program on Solscan](https://solscan.io/account/96hGHn4JD3AyzXvNPdx4RyNtS8y7sQ5NizagMsdMAXhG)
- [Verified onchain commitments and reveals](https://github.com/battlejoose/soltoshidice-programs/blob/d2c0b0b7fd14b727d925b137f64ee910261c9f3c/games/chain/rps-program/src/lib.rs)
