Card Randomizer
Pick a random card order, then get a multi-deal plan that recreates it: each deal uses at most 8 piles plus one overflow pile that the next deal re-deals; collect each deal's piles left to right, stack the deals, and you get exactly the randomized order.
Deal plan per deal, one mini column per card dealt — the pile (1–8) it goes to, or OVF if it lands on the overflow pile that the next deal re-deals
Piles within each deal collect pile 1 (left) to pile 8 (right), each next pile on top of the previous; then set that stack on top of the previous deal's stack
Resulting order top of the deck first, after collecting — no flip needed
How it works
- Enter the number of cards in your deck and press Randomize. A target order is picked uniformly at random (Fisher–Yates), so every order is equally likely.
- The target is split into several deals from the bottom of the deck up. Cards inside one pile keep their relative order, so the app groups the bottom-up sequence into runs and gives each deal at most 8 piles (1…8); every run that does not fit goes to a 9th overflow pile.
- Deal 2 takes that overflow pile (top card first) and again splits it into at most 8 piles plus a new overflow pile, and so on until nothing is left over. Because each overflow pile is picked up top-first, the dealing direction flips every deal — odd deals split increasing runs, even deals decreasing ones.
- To perform the shuffle, follow Deal plan: deal the whole deck in deal 1, then the overflow pile in deal 2, and so on, always placing each card on top of its pile. A gray OVF cell means the card lands on the overflow pile and will be re-dealt later.
- Piles — shows each deal's piles as they sit after dealing (top card on top), with the overflow pile shown at the end. Collect each deal left to right, pile 1 first, each next pile on top of the previous; then place deal 2's stack on top of deal 1's, deal 3's on top of that, and so on.
- Resulting order — the top of the collected stack is the deck you get. No flip needed: this list is already top to bottom.
Why this shape? Cards inside one pile keep their original relative order, so each pile is a contiguous run of the target read bottom-up. Capping a deal at 8 piles keeps the table manageable: whatever does not fit is parked on the overflow pile and re-dealt by the next deal, and stacking the deals bottom-up reconstructs the whole target order.