Porker

Fair play

Play chips. Automated opponents. A shuffle you can reconstruct from a revealed seed.

Try a seed check

Play chips only

Porker is Texas Hold’em with virtual chips. There are no real-money deposits or withdrawals. A table buy-in moves play chips into your table stack.

This page explains the current code’s poker-hand shuffle and its limits. It does not claim independent fairness certification or a certified random-number generator, and does not cover reward-wheel randomness.

About opponents

Porker supports house-operated bots: automated players that can take seats and act in hands. You may encounter automated opponents. An occupied seat is not proof that a human is playing.

The server marks bot seats in its table data, but the current seat interface does not display a bot badge. You cannot reliably identify a human opponent from a name or avatar.

We have not verified the live server’s bot configuration for this page. We do not promise bot-free tables, a particular mix of opponents, or that a human will always be available.

Commit, then reveal

  1. Commitment

    The server creates a 32-byte seed. The hand-start message includes its SHA-256 hash (the commitment), before the private-card messages.

  2. Shuffle

    The engine derives a deterministic byte stream from the seed and shuffles 52 cards using Fisher–Yates with rejection sampling. The same seed produces the same deck.

  3. Reveal

    The hand-end message includes the seed. Hashing the revealed bytes lets you compare them with the original commitment; regenerating the deck is a separate check.

Check a seed

The checker runs locally in your browser using Porker’s engine. It checks a hash and reconstructs a deck; it does not fetch or validate a live hand.

Use a revealed seed from a completed hand. Both fields accept 64 hex characters. The defaults are a synthetic example.

Reproduce the example

This is a synthetic vector, not a hand played on the live site. The seed is 32 bytes, each with value 7. Hash the decoded bytes, not the text of the hex string.

Seed: 0707070707070707070707070707070707070707070707070707070707070707

SHA-256: 4bb06f8e4e3a7715d201d573d0aa423762e55dabd61a2c02278fa56cc6d294e0

First ten cards: 5d 9h Jc Qd 6c As 6d 3h Kh 9d. T means ten; c, d, h and s mean clubs, diamonds, hearts and spades.

To implement the same shuffle: start with cards ordered by rank 2 through A, with suits c, d, h, s within each rank. Concatenate SHA-256 blocks of seed bytes followed by an unsigned 8-byte big-endian counter, starting at zero. Read unsigned 32-bit big-endian integers from this stream.

For each index i from 51 down to 1, set b = i + 1. Reject integers at or above floor(2³² / b) × b; use the next accepted integer modulo b as j, then swap cards i and j. Read the resulting deck from the first card.

What this proves

A matching hash shows that the revealed seed matches the commitment you supplied. For a real hand, retain the original hand-start commitment: copying both values from a later record does not establish when the commitment was published.

To check the deal, compare the regenerated deck with the recorded cards, seat order and button. Cards are dealt one at a time, starting after the button, for two rounds. Account for a burn card before the flop, turn and river.

The hand history replay shows a seed/hash check, but replays recorded cards. Its hash result alone does not verify those cards against the seeded deck.

The server chooses the seed; there is no player-supplied seed in this flow. Commit/reveal does not prove unbiased seed selection, rule out seed selection before commitment, or prove which software a live server ran. It also does not certify bot behavior or prevent collusion.

A revealed seed exposes the entire deck, including cards that may have been folded or hidden. Treat completed-hand seeds and records accordingly.

Fair play: bots and shuffle checks | Porker