Skip to contentSkip to chat
Sign in

Provably fair

Mines

A Fisher–Yates shuffle of the board's cells; the first m cells hold the mines. Cells are numbered row by row.

How it works

Draw

Your seed pair: one nonce per round.

mp5gg:v1:mines:{clientSeed}:{nonce}:{c}
  • a = [0 … n − 1]; for i = n − 1 down to 1: j = uniformInt(i + 1), swap a[i] and a[j]
  • The mines are a[0 … m − 1]

Formula

  • After k safe reveals, payout = floor(stake × (10000 − edge) × C(n, k) / (10000 × C(n − m, k)))
House edge
3% (97.00% RTP) at every step.

Worked example

Computed by this page with the verifier's own code from the published test inputs below.

Server seed
3f6fc1e2f044ab1451b60ab59cf4e559d3b86a8fa2680c719659be6e3b808553
Client seed
0f3c9a7e1b2d4c6a8e0f1a2b3c4d5e6f
Nonce
0

Verified

Mines at cells 25, 1, 11 of 25.

Mines
25, 1, 11
Cells
numbered row by row from 1 at the top left
The board, row by row
  1. Cell 1: Mine
  2. Cell 2: safe
  3. Cell 3: safe
  4. Cell 4: safe
  5. Cell 5: safe
  6. Cell 6: safe
  7. Cell 7: safe
  8. Cell 8: safe
  9. Cell 9: safe
  10. Cell 10: safe
  11. Cell 11: Mine
  12. Cell 12: safe
  13. Cell 13: safe
  14. Cell 14: safe
  15. Cell 15: safe
  16. Cell 16: safe
  17. Cell 17: safe
  18. Cell 18: safe
  19. Cell 19: safe
  20. Cell 20: safe
  21. Cell 21: safe
  22. Cell 22: safe
  23. Cell 23: safe
  24. Cell 24: safe
  25. Cell 25: Mine
Details

Checks

  • PassedThe server seed is 64 lowercase hex characters
  • PassedSHA-256 of the server seed equals the commitment shown before play
  • PassedThe client seed is 1 to 64 printable ASCII characters without ':'
  • PassedThe nonce is a whole number from 0
  • PassedThe board has 2 to 64 cells and fewer mines than cells

Draw trace

Message: mp5gg:v1:mines:0f3c9a7e1b2d4c6a8e0f1a2b3c4d5e6f:0:{c}

PositionWords readRejectedValue
01920722894019
12963836385017
2147947490901
3263655394301
4236974213007
5396497353013
6162773981208
7103532181208
8349821141602
9261970523011
1089694611308
11212432925701
12150622586602
13229374906303
14111810082809
1564420553202
1691495582503
17275836339705
18225452434604
19226053872305
20344188880404
21175961075503
22181128448102
23363410755600