Dealt52

Everyone gets the same 52 cards today. How many waves can your hands hold?

dealt52 (n.) a daily card defense game on Solana. At 00:00 UTC one shuffled deck is dealt to everyone in the same order, and poker hands build the towers that hold ten waves. After the close anyone can recompute the deck from chain data.

COMING SOONDay 1 has not been dealt yet.

Read the docs Every rule and number

Drag to turn

How a day runs

Nobody picks the deck, us included. Each step below leaves something you can check, and none of it needs a wallet.

When (UTC)What happensWhere you check it
Before 00:00Our server commits on chain to hash(secret), the rules version, a target slot near 00:00 and a fallback interval. The program refuses a target slot that is too close to the commit.The day accountNext
Target slotAnyone calls open-day. The program stores the first SlotHashes entry at or after the target slot as the chain seed. Missed for about 512 slots, the next target applies and the attempt number is public. At most 4 targets (the first and 3 fallbacks); a day not opened by then, or by its end, is never dealt.The open transaction and its slotNext
00:00 to 23:59The board and all ten waves come from the chain seed, so they are public at once. Cards come from the deck seed, one hand at a time, after the server checks your actions so far.The rules file, hashed in your browser
The closeThe secret is revealed on chain. The program accepts it only if it matches the commitment. Deck seed = hash(chain seed, secret, day, rules version).The day accountNext
After the closeAnyone recomputes the deck, replays every run on the leaderboard and rebuilds its Merkle root, then compares it with the root on chain.Verify, below and in the docs

Rows marked Next start when the program is deployed on mainnet.

What the leading suit does

The poker hand picks the tower, the ranks set its power, and the suit with the most cards in the scoring part gives it one effect. A flush or straight flush gets the stronger version.

The score of the run on the table

 

The score of the run the table above acts out. A score is only ever a replay of a record.

Receipt

score = bounties + 50 × wave for each clean wave + 25 a life + 40 a discard + 10 a card left

One free guest run shows much of a day's deck, so rankings are for play, with no prizes.

The deck, in the order it was dealt

All 52 cards of the deck on the table in shuffle order, and what each one did in the run. On a live day this list stays sealed until the close. Then anyone can print it from chain data.

    The chain seed

    A SlotHashes entry read from Solana mainnet.

    The rules version

    The SHA-256 of the one unminified engine file. At launch this is registered on chain and the engine page compares it in your browser.

    Two towers seen close: playing cards stood up as storeys of a card house on brass pads, olive baize, a stack of yellow chips out of focus in front
    The test bot's run on the sample board, rendered in Blender from the table's own positions: two plays stacked on pad 5, wave 5's chips in front.

    Questions

    Do I need a wallet or the coin to play?

    No. The daily run and practice need neither. A wallet only ties your official run to your address: sign one message, then one run a day per wallet. Without a wallet the run is tied to this device.

    Can someone see the deck before I play?

    The order stays on our server until the close, and the server deals one hand at a time after checking your moves. The limit we say out loud: one free guest run reveals much of a day's deck, all of it with heavy discarding. So rankings are for play and bragging, with no prizes.

    Who chooses the shuffle?

    Nobody alone. We commit to a secret before the chain value exists; the chain value comes from a slot that had not happened yet; the secret is revealed after the close and must match the commitment. The validator of that slot has some influence on its value, and a missed opening window gives us, who know the secret, another chance, at most 3 more: after the first target and 3 fallbacks, or once the day has ended, the day is never dealt. Open-day needs no key, so anyone can send it, and the attempt number is public.

    How long is a run?

    Five to eight minutes. Ten waves, a hand of seven before each, three discards for the whole run, and a 2x speed while a wave walks.

    What does the share line give away?

    One mark per wave for the hand type you played and whether the wave held, then your score and a link. No card values and no order, so it never spoils the deck for anyone who has not played.

    What does $D52 do?

    The game never needs it. Lock it in your own account for a weekly holder league, or burn it for a card back or tomorrow's dealer name. None of it changes the cards. The contract address shows on this page as soon as the coin exists, and the docs page lists the supply and any unlock schedule.

    RulesEvery number the engine uses, read from the engine file.