Play Crazy Eights against one to three computer players: match the suit or rank, use wild eights, and be first to empty your hand.
Game #-
Turns 0
Stock 0
Played 0
Won 0
Quickest win -
Stock
Discard
Suit to match
Your cards
Play a card that matches the top card's suit or rank. An eight (it has an amber frame) can be played any time, and you name the suit the next player must follow. Cards you can play are raised. If you cannot play, draw from the stock. The first player with no cards left wins. Keyboard: Tab to your cards, the arrow keys move between them, Enter or Space plays the card. Press D to draw. After an eight, press S, H, D or C to name a suit, or Tab to a suit and press Enter. Escape cancels an eight.
A standard 52-card pack is shuffled with a seeded shuffle, so the game number always gives the same deal, and the address of this page carries it. Two players get 7 cards each and three or four players get 5 each. One card is turned up to start the discard pile; if it is an eight it goes back under the stock and another is turned. On your turn play a card of the same suit or the same rank as the top card, or any eight, which is wild: you name the suit the next player must follow. If you cannot play you draw, either until you can play or, if you choose the other setting, up to 3 cards and then pass. When the stock runs out the discard pile, except its top card, is shuffled to make a new stock. A player who can neither play nor draw passes. There are no special cards other than the eights. Every game ends. The first player to play all their cards wins. If nobody can play or draw for a whole round, or after 500 turns, the game stops and the player with the fewest cards wins (a tie is shared). Easy plays any legal card. Medium keeps its eights for when it has to use them and names the suit it holds most. Hard also remembers who had to draw, likes to name a suit the next player lacks, and plays an eight when it is nearly out. The computers never look at your hand.
As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.
Be the first to get rid of all your cards.
Two players are dealt 7 cards each, and with three or four players everyone gets 5. One card is turned up to start the pile. If it happens to be an eight, it goes back to the bottom of the stock and the next card is turned instead.
Cards you can play are raised and outlined in amber, so you do not have to work out the rule yourself. The raised position is the cue, not just the colour. Tap a card to play it. If it is an eight, four large suit buttons appear: choose one, or press Escape to put the eight back. Tapping a card that cannot be played tells you why.
Keyboard and screen reader. Press Tab to reach your cards. The arrow keys, Home and End move along your hand, and Enter or Space plays the card. Press D to draw, or Tab to the stock and press Enter. After an eight, press S, H, D or C to name spades, hearts, diamonds or clubs, or Tab to a suit button and press Enter. Every card played and drawn is spoken through a polite status message. A card a computer player draws is not named, because you would not see it at a real table.
Levels. Easy plays any card that is legal. Medium keeps its eights back unless it has to use one, and names the suit it holds most. Hard also remembers who had to draw (which tells it a suit that player probably lacks), likes to name a suit the next player lacks, and plays an eight when it is nearly out of cards. You can change the level at any time. Changing the number of opponents or the draw rule deals the game again.
The computer players pause for a short, fixed moment before each turn, and for less time if your system asks for reduced motion. A computer turn that needs several draws is shown as one step.
The game has a number, and the page address carries it with the options, so copying the address or using Copy result gives someone else the same deal.
A card is a number from 0 to 51: the suit is the number divided by 13, rounded down, and the rank comes from the remainder. The shuffle is a Fisher-Yates driven by a small seeded generator, so a game number always gives the same order of cards. The seed is drawn from the browser’s secure random source, from 1 to 999,999, and an address can carry any whole number up to 4,294,967,295.
The rules live in a plain TypeScript module with no page code in it. Playing or drawing returns a new state and a list of events, or nothing when the action is illegal. The state keeps the stock, the discard pile, each hand and the suit to match, and the validity check looks at all of them.
When the stock is empty and someone needs a card, the discard pile under its top card is shuffled into a new stock. If there is nothing at all to draw, a player who cannot play passes automatically. A full round of such passes blocks the game, and it also stops after 500 turns. In both cases the player with the fewest cards wins, and a tie is shared. These two rules are what make the finish certain, and the page says so when one of them ends a game.
The tests check these claims:
Nothing is uploaded and there is no account. Games played, games won and your quickest win (in turns) are saved in your browser’s local storage as small numbers inside a small JSON object, under one key. Stored values that are not whole numbers within a sensible range are ignored when read. Clearing site data removes them. The only other state is the page address.
Everything runs locally in your browser.
For informational purposes only. Not financial, medical, or legal advice. You are solely responsible for how you use these tools.