Crazy Eights
Public domain classic
Match the suit or the rank. Eights are wild. First to empty their hand wins.
At a glance
- Rules
- Crazy Eights with one 52-card deck: you against 1, 2 or 3 bots
- Deal
- 7 cards each with two players, 5 each with three or four
- Match
- Play to 100 or 200 points
- Drawing
- Draw until you can play, or stop after three cards and pass
- Controls
- Tap a card, then the discard pile, or drag the card onto it. Arrow keys pick a card and Enter plays it. Esc opens the menu
- Bot speed
- Relaxed or Quick
- Saves
- Games, wins, rounds and your best match score, in this browser only
- Cost
- Free, no account
How this Crazy Eights plays
- The first card turned up is never an eight, and it sets the suit. You start the first round, and each new round starts with the next player along.
- Play a card that matches the current suit or the rank of the top card. An eight goes on anything, and whoever plays it picks the next suit from four buttons.
- You may only draw when nothing in your hand plays. Each tap on the stock draws one card. With the three-card limit, if the third card still does not fit, a Pass button appears.
- When the stock runs out, the discard pile under the top card is shuffled into a new stock.
- If nobody can play or draw and every player passes in turn, the table is blocked, and the player with the lowest card total wins the round.
- Scoring: the round winner scores the cards left in everyone else's hand: 50 for an eight, 10 for a king, queen or jack, and face value for the rest, with the ace at 1.
- The match ends as soon as a round winner reaches the target.
How the bots play
- A bot never plays an eight while another card in its hand fits. When an eight is all it can play, it calls the suit it holds most of, not counting eights.
- For its other playable cards it adds up a score: the card's point value, 12 more if the card changes the suit, and 3 for every card of that suit it holds. It plays the highest score, which sheds expensive cards early and pulls play toward its own long suit.
- Every bot plays the same way. There is no difficulty setting.
- A bot waits about 0.45 seconds before each move on Relaxed and 0.12 seconds on Quick.
Tips that follow from the rules
- Hold an eight back. It is the only card that always plays, and it costs 50 if someone else goes out while you hold it, so it is at its best when nothing else fits or when it is your last card.
- Shed high cards first. A king left in your hand gives the round winner 10, an ace only 1.
- Watch the bots draw. A bot draws only when nothing it holds fits, eights included, so a bot that draws is short of the current suit. Keeping that suit going can keep it drawing.
- More players means shorter hands. Three- and four-player games deal 5 cards each, so a round can be over within a few turns.
For a slower card game against the computer, try Hearts.
Known limits
- No undo and no hint button.
- No difficulty setting: every bot plays the same way.
- At a 1280 by 720 window the game frame is 848 pixels tall, so your hand can sit below the bottom of the window. Scroll, or use Fullscreen.
- Switching tabs pauses the game and opens the menu.
- If storage is blocked, the game runs but does not keep your stats.
How it was built and checked
- AI tool
- Codex
- First committed
- 2026-10-15, in a batch of nine card games, built in the same run as Go Fish and War
- Size
- One HTML file of 507 lines, no game libraries
- Rounds of changes
- 1, from the build record
- Checked at build
- The build report: 980,963 rule checks, 300 complete simulated games with 121,565 moves, a run of the screen code against a stand-in page with storage blocked, and tap areas checked at four screen sizes with a 52-card hand. It lists visual quality, real pointer gestures, device layouts and animation smoothness as not verified
- Checked since
- 2026-11-11: the rule test passes again with new checks for the bots, the reshuffle and the blocked table (981,571 checks), and an automated browser check of the local build at 1280 by 720 and 390 by 844 against two bots. Each time it finished a round by tapping cards, the stock, the discard pile and the suit buttons, started the next round, set every score to 99, played that round to the end of the match, and started again
- Played on a phone
- 2026-11-11, a full game on a real phone before this page went live
Embed Crazy Eights on your site
Free to embed. Please keep the credit link.
<div style="position:relative;padding-top:75%;max-width:640px"><iframe src="https://aivibecodedgames.com/games/crazy-eights/" title="Crazy Eights (free browser game)" style="position:absolute;inset:0;width:100%;height:100%;border:0" loading="lazy" allow="fullscreen" allowfullscreen></iframe></div> <p><a href="https://aivibecodedgames.com/play/crazy-eights/">Play Crazy Eights free</a> on AI Vibe Coded Games</p>
How it was vibe coded
ToolCodex
Rounds of changes: 1
First committed2026-10-15
The opening prompt
Make Crazy Eights for you against one, two or three computer players (player picks the number). Deal 7 cards each for two players and 5 each for more. Play a card that matches the suit or the rank of the top discard; eights are wild and let the player name the next suit. If you cannot play, draw from the stock until you can (with a setting to limit it to three draws). First to empty their hand wins the round, and scores points from the cards the others still hold (eight 50, face cards 10, others their value). Play to 100 or 200. Computers should prefer to change suit with a matching rank, hold eights until needed and call the suit they hold most of. Show the current suit clearly, highlight legal cards, and animate the draw.
Game controls
- Tap a card, then the discard pile (playable cards glow)
- Tap the stock to draw
- Pick a suit when you play an eight
The game brief includes touch controls for phones.
Open the game on its ownMore games
PLAY
Klondike Solitaire
The solitaire everyone knows. Build four piles from ace to king.
PLAY
FreeCell
All 52 cards face up, four free cells, and numbered deals you can replay.
PLAY
Spider Solitaire
Build full runs from king to ace and clear the table.
PLAY
Hearts
Dodge the hearts and the queen of spades. Or shoot the moon.