Custom Card Deck Dealer
Most card tools here draw one card and forget it, which is fine for picking a suit and useless for running a game. A deck is not a list — it is a list that remembers. This shuffles your own cards, deals hands round-robin, tracks the draw pile, the discard and anything face up, and can prove at any moment that every card is in exactly one place. That last part is what separates a deck from a random picker: a picker can hand out the same card twice and nobody notices until the game ends wrong.
What this generator does
Keeps a finite deck across a whole game. The playing card generator already here draws single cards from a standard 52 with replacement, so it can and will repeat; this one holds a deck, removes each card as it is dealt, and never returns it until you put it back. It also handles hands, a discard pile and a shared face-up area, which is the minimum a real card game needs and which a single-card draw cannot express.
How to use this tool
- Type your cards, one per line — or tick the box for a standard 52-card deck.
- List the players, and how many cards each should get.
- Press Shuffle and start, then Deal a round.
- Click a card in a hand to play it to the discard pile.
Understanding the controls
- Your deck
- One card per line, any text at all — suits and ranks, prompts, challenges, monster names. Repeats are kept deliberately: three copies of a card really is three chances of drawing it, and silently collapsing them would change the odds of your game.
- Use a standard 52-card deck
- Builds the usual four suits and thirteen ranks instead of reading your list, for when you want cards rather than content.
- Players and cards each
- Cards are dealt round-robin — one to each player in turn, repeatedly — because that is how cards are actually dealt and it matters when the pile runs short. Dealing whole hands one at a time would leave the last player with nothing; round-robin spreads the shortfall by one card each.
- Seed
- A word makes the shuffle reproducible. The same seed and the same deck give the same order every time, which is what you want when testing a game or restarting an interrupted one. Leave it blank and the shuffle uses the browser's cryptographic random number generator.
Worked examples
- 52 cards, 4 players, 5 each
- 20 cards dealt, 32 left in the draw pile, and no card in two hands.
- A 6-card prompt deck, 4 players, 2 each
- Two players get 2 and two get 1 — the shortfall spread, not dumped on the last player.
- A deck with three copies of one card
- All three stay in. Playing one leaves the other two.
- What is never shown
- The same card in two different hands.
Common use cases
- Running a homemade card game without printing anything
- Dealing a prompt or challenge deck so nothing repeats until the pile is empty
- Playing a game whose cards you have lost
- Testing a card game you are designing, with a reproducible shuffle
- Dealing a standard deck to a table when nobody has cards
How this generator works
The deck is shuffled once with a Fisher–Yates shuffle and then walked in order, which is what makes 'no repeats' exact rather than merely likely. Dealing moves cards from the draw pile into hands; playing a card moves it from a hand to the discard; revealing moves it to a shared face-up area. Every operation returns a whole new deck rather than editing one in place, which is why Undo is simply keeping the previous value. The invariant the whole tool rests on is that the four piles — draw, hands, discard, face up — always partition the original deck exactly, and the page states whether that holds rather than assuming it. The test suite drives that check after every combination of deal, reveal, discard and recycle.
Randomness and fairness
The shuffle uses the browser's cryptographic random number generator, so every ordering of the deck is equally likely. Give a seed and it switches to a documented reproducible generator instead — that is for repeatability, not security, and it is not cryptographic. Dealing itself involves no randomness at all: once the deck is shuffled, cards come off the top in order, which is why the no-repeat guarantee is exact rather than probabilistic.
For how randomness is produced across the whole site, see how Generate Random works.
Assumptions this tool makes
- Every line of your list is one card, and identical lines are genuinely separate copies rather than a mistake.
Limitations and good to know
- It deals and tracks cards. It does not know the rules of your game, whose turn it is, or what a card does when played.
- There are no hidden hands — everything is visible on one screen, so it suits a game round a table rather than one played across separate devices.
- Nothing is saved between visits. Closing the page loses the game state.
- Undo steps back through this session's moves only, and does not survive a reload.
- It will not reproduce a commercial game's cards, and nothing here contains any.
Common mistakes
- Expecting a single-card generator to work as a deck
- It cannot. Drawing with replacement means repeats, and a game that deals the same card twice is broken in a way that is easy to miss. That difference is the reason this tool exists.
- Deleting duplicate lines to tidy the deck
- Those duplicates are doing work. A deck with four copies of one card and one of another is not the same game as a deck with one of each, and the tool keeps the difference on purpose.
Practical tips
- Use a seed when playtesting a game you are designing — you can change one rule and deal the identical hands again.
- Put the discard back when the draw pile runs low; that is what most card games do, and the button does it in one press.
Privacy and your data
Your cards, your player names and your seed never leave your browser. Nothing is uploaded, nothing is stored between visits, and nothing is written into the page address. Analytics records that the tool ran and how many cards were in the deck, never the cards themselves.
Frequently asked questions
- How is this different from the playing card generator?
- That one draws a card from a standard 52 and puts it back, so it can give you the ace of spades twice in a row. This holds an actual deck: every card dealt leaves the pile, hands persist, and the tool can show you where all 52 are. One is a random card; this is a game of cards.
- Can I use it for something other than playing cards?
- That is mostly what it is for. Any list works — writing prompts, party challenges, revision questions, encounter ideas. Dealing them without replacement is what stops the same prompt coming up twice in an evening.
- What happens when the deck runs out mid-deal?
- The deal stops where the cards stop, and the page says so. Because cards go round-robin, the shortfall lands as one card fewer for the last few players rather than nothing at all for the last one.
- Does the seed make it secure?
- No, and it is not meant to. A seeded shuffle is reproducible by anyone who knows the seed, which is exactly the point when you want the same deal twice — and exactly wrong for anything where the order needs to be unguessable. Leave the seed blank for that.