For a game with real cards: keep the score without a board, count a hand, or find the best throw.
Trainer
Practise the throw and the count, the two skills behind most of a hand’s points, or learn the game from the start.
Your stats
Every game you finish against the computer, kept on this device and nowhere else.
Game history
Every game you finish, hand by hand, with a review of your throws. Save them to a file there too.
Game history
Every game you’ve finished on this device, newest first. Open one to see it hand by hand and review your throws.
Show
Opponent
When
Your games
They’re kept only in this browser, so save them to a file now and then. A file is also how to move them to another device. Turn off keeping them in Settings, under Game history.
Replay
0
You
0
Opponent
Opponent
Opponent’s crib
—
Count
Deck
Your hand
Your crib
Their cards
← → step · Shift jumps a hand · Space plays
Score keeper
0
You
0
Them
First to 121 wins. Tap a number to peg it.
Clear the board?
You121 to go
Them121 to go
Pegged so far
Nothing pegged yet.
Hand counter
Hand
Cut
Crib, if you like
Pick a rank for the hand.
Discard helper
Your six cards
Pick a rank for the hand.
Add all six cards to see every throw ranked.
See where the best throw’s points come from against the next best: fifteens, pairs, runs, flushes and nobs, in the hand and in the crib.
ThrowWhat it makes, on averageWorth
How it works
Each throw is ranked as the discard trainer ranks it. The hand is what the four cards you keep average over all 46 cuts. The crib is what your two cards score on average, once the other player adds two and the cut is turned, expecting them to throw as a good player would. It counts for you in your crib and against you in theirs.
Keep in mind
Pegging and the score aren’t counted, so near 121, or when pegging points matter most, the best throw at the table can differ.
Discard trainer
Your crib
Choose two cards for the crib.
Your throw ·
See where the best throw’s points come from against yours: fifteens, pairs, runs, flushes and nobs, in the hand and in the crib.
ThrowWhat it makes, on averageWorth
How it works
The hand is what the four cards you keep average over all 46 cuts. The crib is what your two cards score on average, once the other player adds two and the cut is turned. It expects them to throw as a good player would. It counts for you in your crib and against you in theirs.
Keep in mind
Pegging and the score aren’t counted, so near 121, or when pegging points matter most, the best throw at the table can differ. The crib figure expects the other player to throw well. Against a careless player, cribs will score a little differently.
Counting trainer
Count the hand
Hands and cribs count the same way except for flushes: four of a suit score in a hand, but a crib needs the cut to match as well. Cribs also tend to score less, since both players keep their best four and the one not dealing throws cards that won’t help.
Cards
Cut
What does this hand score with the cut?
How it works
Hands are the four a good player would keep from six, and cribs are the two each player would throw, so they’re the kind a game deals. The count is the game’s own, line for line.
Keep in mind
His heels, a jack cut, goes to the dealer at the cut, so it isn’t counted here. A jack in the hand of the cut’s suit is his nobs, and that does count, for 1.
Set up the game
Difficulty
Keeps a decent hand but ignores the crib, and now and then plays a careless card.Plays sensible cribbage by rules of thumb: guards fifteens and 31s, and keeps fives out of your crib.Works out the crib’s value and thinks through the rest of each pegging round, and near the end it counts the show to play for the win rather than for points. It never sees your cards, but it notices when you say go.
Match
A skunk counts as two games and a double skunk as three.
Muggins
Count your own hand and crib. Points you miss go to your opponent, and so do any you claim too many.
Settings
Your choices here are remembered on this device.
Theme
Appearance
System follows your device’s light or dark setting.
Contrast mode
Black and white, with every word at the strictest contrast (WCAG AAA). Its dark side is true black.Slate, brass and cream: the app’s own colours.
Customisation
Card faces
The rank and suit in two corners, with a big suit in the middle.Just the rank in one corner and the suit in the other.The rank and suit fill each card, for reading at a glance.
Suit colours
Red hearts and diamonds, black spades and clubs.Diamonds blue and clubs green, so every suit reads at a glance.
♠♥♦♣
Handedness
The deck and the main button on the right.The deck and the main button on the left.
Animations
Cards drop, fly and turn over, and confetti falls when you win.Everything keeps still. Score callouts still appear.
Gameplay
Auto-play
Forced cards lays your card when only one fits in the play. Full also cuts, deals and counts for you, but waits after each show so you can read the counts.
Hints
A Hint button shows the best cards to throw or lay. The throw leaves out pegging and the score, and neither hint knows your opponent’s habits, so the best play at the table can differ.
Game history
Keeps each game you finish on this device, for your stats. Nothing leaves it.
Sound
Sound effects
Card taps, the shuffle and a bell for points.
Rules
New to cribbage? , which explains each step as you go.
Race to 121
You and the computer race to 121 points. Each of you has a row of holes on the board, and you move a peg along it as you score. That’s called pegging. The first to reach 121 wins straight away, even in the middle of a hand.
Each of you has two pegs. The front peg shows your score. The back peg shows where you were before, so the gap between them is the last thing you scored.
Deal and discard
Each hand, you’re both dealt six cards. You each put two of them face down into the crib. The crib is a spare hand. It belongs to the dealer, and it’s counted last.
You take turns to deal. When it’s your crib, throw in cards that score well together. When it’s theirs, throw in cards that don’t. To decide who deals first, you each cut the deck. The lower card deals, and aces are low.
The cut
The player who didn’t deal cuts the deck, and the top card is turned face up. This card is the starter. It counts as a fifth card in both hands and in the crib.
If the starter is a jack, the dealer scores 2 straight away. That’s called his heels.
The play
Now you take turns putting down one card each, face up. Keep a running total of their values, called the count. Aces are 1, and jacks, queens and kings are 10. The count can never go past 31. You score as you go:
The count reaches 152
The count reaches exactly 312
Same rank as the card just played: a pair2
Three of a kind: a pair royal6
Four of a kind: a double pair royal12
Three or more in a run, in any order, like 4, 6, 51 a card
If you can’t put down a card without going past 31, you say go. Your opponent keeps playing if they can. Whoever puts down the last card scores 1, or 2 if the count is exactly 31. Then the count goes back to zero. The very last card of the play scores 1, unless it makes 31.
The show
When all the cards have been played, each hand is counted along with the starter. This is the show. The player who didn’t deal counts first, then the dealer, then the dealer’s crib.
Every group of cards that adds up to 152
Every pair2
Three of a kind: a pair royal6
Four of a kind: a double pair royal12
Every run of three or more1 a card
Four cards of one suit in your hand: a flush4
… and the starter is that suit too5
The jack of the starter’s suit: nobs1
One card can be used in more than one score. That’s how big hands add up. The crib only scores a flush if all five cards are the same suit. You don’t have to count anything yourself: every hand is counted for you, line by line. The only exception is muggins (see Optional rules, below).
Winning
The first player to reach 121 wins. The player who didn’t deal counts first in the show. So they can reach 121 before the dealer’s hand is even counted.
If you finish on 90 or less, behind the line marked S on the board, you’ve been skunked. In a match, that counts as two games. The SS line marks a double skunk, 60 or less. Tournament rules don’t count it, but this app’s matches count it as three games.
Optional rules: muggins
Tournament rules have one optional rule, muggins. With it on, you count your own hand and crib. If you miss any points, your opponent can call muggins and take them.
Counting too many is never allowed, with or without muggins. If you claim more than your hand is worth, your opponent will catch it. You score the true count, and they score the difference.
Turn muggins on when you set up a game. The computer’s counts, and the scoring in the play, are still done for you. The computer never misses a mistake.
Cheat sheet
Every way to score, and how a hand runs, on one page. For the full explanation with examples, see the Rules.
A hand, start to finish
Cut for the first deal. The lower card deals, and aces are low. After that, you take turns to deal.
Deal six each. The player who isn’t dealing is called the pone.
Throw two to the crib. You each put two cards face down. The crib belongs to the dealer, and it’s counted last.
Cut the starter. The pone cuts the deck, and the dealer turns over the top card. If it’s a jack, the dealer scores 2 for his heels.
The play. The pone goes first. Take turns putting down a card and saying the running count. The count can’t go past 31. Score as you go.
The show. Each hand is counted with the starter: the pone’s first, then the dealer’s, then the crib.
Next hand. The other player deals. The first to 121 wins, the moment they reach it.
Card values
Ace1
Two to tenFace value
Jack, queen, king10
In a run, cards go in order from ace to king. Aces are only low, so Q–K–A isn’t a run.
Scoring in the play
The count reaches 152
The count reaches exactly 312
A pair (same rank as the card just played)2
Three of a kind: a pair royal6
Four of a kind: a double pair royal12
A run of three or more, in any order1 a card
A go: the last card before the count goes back to zero1
The last card of the play1
Pairs and runs only count among cards put down one after another, since the count last went back to zero. A run’s cards can come in any order: 4, 6, 5 is a run of three.
The go
If you can’t put down a card without going past 31, say go.
The other player keeps putting down cards for as long as they can, and scores anything they make.
Whoever puts down the last card scores 1 for the go, or 2 if the count is exactly 31. Not both.
The count goes back to zero. The player who didn’t put down that last card goes first next.
Counting the show
Each group of cards adding up to 152
Each pair2
Three of a kind: a pair royal6
Four of a kind: a double pair royal12
Each run of three or more1 a card
Flush: four cards of one suit in your hand4
… and the starter is that suit too5
Nobs: the jack of the starter’s suit1
A card counts in every combination it fits. The crib only scores a flush when all five cards are the same suit.
Runs with pairs
Double run of three: 3 3 4 58
Double run of four: 3 3 4 5 610
Triple run: 3 3 3 4 515
Double double run: 3 3 4 4 516
These totals include the pairs, but not any fifteens. Fifteens count on top.
Winning
The first to 121 wins at once, even in the middle of a hand.
The pone counts first in the show, so they can reach 121 before the dealer counts at all.
Finishing on 90 or less is a skunk, which counts as two games in a match. Finishing on 60 or less is a double skunk. Tournament rules don’t count it, but this app’s matches count it as three games.
About the engine
How the computer opponent and the trainers choose their moves, how strong they are, and where they go wrong. Last updated 9 November 2026.
In short
It follows the official tournament rules.
It always counts the score correctly.
It never sees your cards, and it can’t fix the deal.
Its strategy is good, but not perfect. It plays best on Hard difficulty.
Built from the rules
The engine is the code that chooses the computer’s moves. It was written from the rules of cribbage. It didn’t learn from past games, and it doesn’t copy tables from books. The rules come from the American Cribbage Congress tournament rulebook.
Scoring is simple sums, so it can be done exactly. One piece of code counts every score in the app: in your games, on the Rules page and in every tool. To check that code, a set of example hands and plays, such as the perfect 29, were scored by a person. The code is tested against those answers, and has to get every one right.
Strategy is harder. You can’t see the other player’s cards or the cut, the deal is random, and the best move depends on the score. Nobody has found a perfect strategy for cribbage, just as nobody has for poker or backgammon. So each level makes its own choices about what to work out exactly and what to guess. Each one is tested by playing thousands of games against the others.
Everything runs in your browser. Nothing is sent anywhere to choose a move.
It plays fair
It never sees your cards. It knows only what a player at a real table would know: its own cards, the cut, the cards already played, and what you showed by saying go. (When you say go, you show that none of your cards fits under 31. It remembers that, as a person would.)
It can’t fix the deal. Every hand is shuffled fresh, using a standard method (Fisher–Yates) and your browser’s random numbers. No level gets better cards, and the deal never changes with the score.
The shuffle is fair, but it isn’t the high-security kind used for gambling, and you can’t check a deal afterwards.
What’s exact and what’s a guess
The four cards you keep: exact. There are 46 cards that could be cut. Every level counts its four kept cards with each one, and takes the average. That’s the true average score of the hand.
The crib: a guess. The crib is the dealer’s spare hand, made of the two cards each player throws in. Its value depends on the other player’s two cards, and those are hidden. On Hard difficulty, the computer works out an average crib for every two ranks it could throw (ace to king). It expects the other player to throw well. The dealer puts good cards in their own crib. The other player gives the dealer cards they can spare. It learned this by playing millions of deals against itself, and its values are close to Michael Schell’s well-known discard tables.
The play: a guess. In the play (also called pegging), you take turns putting cards down and scoring as you go. What scores depends on the cards the other player still holds, and those are hidden. On Hard difficulty, the computer guesses by dealing many possible hands and playing each one through. It deals more often the kinds of hands people keep.
How the computer plays on each difficulty
Easy
The computer keeps a good four cards, with some randomness in its choice. It ignores the crib, so it often throws you fives. In the play it takes points it can see, but about one card in three is put down at random.
Medium
The computer plays by rules of thumb. When it throws to the crib, it uses values set by hand: a five, a pair, or two cards that make fifteen are good in its own crib and bad in yours. In the play it avoids leaving the count on 5 or 21, because a ten-card would then give you 15 or 31. It doesn’t lead with a five. It leads low, and keeps low cards back for later. It only thinks about the card it’s about to put down.
Hard
The computer works out the crib’s average value, instead of using rules of thumb. In the play it deals you 180 possible hands from the cards it hasn’t seen. Hands that people often keep, with fives, pairs, runs and fifteens, count for more. For each one, it tries every way the rest of the play could go, then picks the card that does best on average. It also counts the show that comes after the play, in the right order. (The show is when each hand and the crib are counted.) So near 121 it plays to reach 121 first, not just for the most points.
How strong it is
The computer has played itself in thousands of test games, with one side always on Medium difficulty. When the other side was on Easy, it won about 32% of games. When it was on Hard, it won about 59%. That may sound close, but cribbage has a lot of luck in it. Even a much stronger player loses plenty of games. One game tells you very little about who played better.
On Hard difficulty, the computer plays well, but it isn’t perfect. It beats a rules-of-thumb player in the play, because it thinks ahead. But near the end of a game, an expert judges the position better.
An idea for playing better only goes in if it wins over a thousand or more test games against the computer on Hard difficulty, as it plays now. Many ideas that seemed clearly right, from books and elsewhere, have failed that test.
Known weaknesses
Most of these are about the computer on Hard difficulty, and the trainers, which work things out the same way. The last one is about Medium difficulty.
It expects you to throw as it would. Its crib values assume a good player on the other side. If you throw differently, its values are a little off. This matters less than it sounds. When it treated every throw as random, it played just as well (see 6 October, below).
Its crib guess forgets the four cards kept. It takes the two thrown cards out of the deck, but not the four kept. Say it keeps two fives and throws a third. It then thinks three fives are still in the deck, when only one is. This changes the best throw in about 3% of deals, and almost always by very little.
When it plays a guessed hand through, every card is face up. For each possible hand it deals you, both sides play as if they could see all the cards. In a real game the cards are hidden. So now and then it plays for something you’d never actually let happen.
It doesn’t learn your habits. The hands it imagines for you are the kind most players keep, not the kind you keep. It uses the cards you’ve already played in this hand, and what saying go gives away. But it doesn’t learn from earlier hands how you like to play.
Its throw ignores the play and the score. On Hard difficulty, the computer keeps the cards worth most in the show, even if they’re poor in the play. It throws the same way at 0–0 as at 118–119. Adding the play to its throw was tested. It lost more games than it won, so it was taken out. Throwing for the best chance to win near the end was tested too. Over 10,000 test games that started near the end, it won about half, so it made no difference.
On Medium difficulty, its values were set by judgement. The computer’s crib values and rules of thumb on Medium are sensible, but they weren’t worked out exactly.
The trainers
The discard trainer works things out the same way as the computer on Hard difficulty, so the same limits apply.
Counting
A count has one right answer. Yours is checked by the same scoring code as the game. It can only disagree with you over a house rule that the tournament rules don’t allow, such as a four-card flush in the crib.
Discard
Ranks every throw. It takes the exact average of the four you keep, then adds the crib guess if it’s your crib, or takes it away if it’s theirs. The crib guess expects the other player to throw well. The ranking is sound, but in close cases the crib guess can tip it. Any throw within a quarter of a point of the best is marked Close, and either choice is fine.
Accessibility
Brass Peg is meant to be playable by everyone, however you see, hear, move or read. This page says what’s been done, how it was checked, and what isn’t there yet. Last updated 26 November 2026.
In short
The app aims to meet the WCAG 2.2 accessibility guidelines at level AA. That’s the standard most websites are held to. The checks so far were done by us, not by an outside tester, and it hasn’t yet been tested by people who use a screen reader every day. So this page says “aims to”, not “does”.
Using a screen reader
Every card says what it is, such as “Jack of hearts”. In the play, it also says whose it is. A face-down card says so.
Everything the game says is read out: each card laid, a go, what scored, and the show. After a score changes, both scores are read too.
A card you’ve picked, or one a hint suggests, says so.
Each count in the show is read as a whole line, with what scored, the points and the cards.
A replay of a past game reads out each step as you move through it: the card laid, what it scored, and the counts in the show.
When you open a page, its name is read and becomes the tab’s title.
Every page has one main heading and is laid out with headings and landmarks, so you can jump around it.
Links that open a new tab say so.
Using a keyboard
Everything can be done with the keyboard. Every card you can play and every choice is a real button.
After you play a card or take a step, the keyboard stays where you were, or moves to the next thing to press. You never have to start again from the top of the page.
The focused button always has a clear ring around it, and on a phone the game’s bar never covers it.
When the app asks before leaving a game, the choice that keeps your game is the one selected first.
In a replay, the left and right arrow keys step through the game, Shift with an arrow jumps a whole hand, Home and End go to the start and the end, and Space plays or pauses.
Seeing the game
The colours, in light and dark, are checked so that all text meets the WCAG AA contrast standard. A script checks every colour pair the app uses each time a colour changes.
Contrast mode, in Settings, goes further, to the stricter AAA standard. Its dark side is true black.
Your colour and the opponent’s are checked to stay easy to tell apart for each common kind of colour blindness. Colour is never the only clue: in the play, their cards are marked along the top and yours along the bottom.
Jumbo index, in Settings, makes the rank and suit fill each card.
Four colours, in Settings, makes diamonds blue and clubs green, so no two suits share a colour. Each colour is checked against the card face like the rest.
Every chart on the Stats and Game history pages has a table with the same figures under “Show as a table”, and its picture has a written summary for a screen reader. Its two colours, yours and theirs, were checked to stay apart for each common kind of colour blindness, and every bar and line is at least 3:1 against its background.
Text follows your browser’s text size. Every page fits a phone 320 pixels wide with text at 150%, and all but one fit at 200%.
Every score is written as a number, as well as shown by the pegs on the board.
Movement, sound and time
If your device is set to reduce motion, or Animations is off in Settings, nothing slides, flies or floats, and there’s no confetti. Score callouts still appear, without moving.
Nothing has a time limit. The computer waits for you, however long you take.
Auto-play is off unless you turn it on.
Sound can be on, quiet or off. Nothing depends on hearing it.
Left-handed, in Settings, moves the deck and the main button to the other side.
Reading and learning
The tutorial is written in short, plain sentences, for about a reading age of 8. It explains each word the first time it comes up, and it waits for you to finish reading before anything happens.
If you type a score that can’t be right, the app says why rather than just refusing it.
Hints, in Settings, show the best cards to throw or play.
How it was checked
In October 2026, every page was run through axe, an automated accessibility checker, in light and dark. The code was read through for keyboard and screen-reader problems, and the main findings were checked in the running app. Everything found was fixed. Contrast and colour blindness are checked by script for every palette, and the app’s automated tests play thousands of games to make sure fixes don’t break the game.
Tell us about a problem
If something doesn’t work for you, or is harder than it should be, email hello@brasspeg.com. It helps to say what you were doing, and which device, browser and any assistive technology you use (a screen reader, say). Every message is read.
What isn’t there yet
It hasn’t been tested with a screen reader such as VoiceOver or NVDA, or by disabled players. That’s the next step.
The peg board is a picture of the scores. The scores themselves are written beside it, but the board adds nothing for a screen reader.
The icon on a phone’s home screen is fixed when the app is installed, so it doesn’t follow Contrast mode.
Privacy
In short: this app collects nothing about you, and it doesn’t talk to any other site. Last updated 27 November 2026.
What the app collects
Nothing. There are no accounts, cookies, analytics, ads or tracking of any kind. Nothing you do here is sent anywhere. Your finished games are kept for your stats, but only on your device (see below).
Everything the page needs, including its fonts, comes from this site. It never loads anything from another site, so no other company learns that you’re playing. The site also tells your browser to refuse anything from another site, so it couldn’t load anything even by mistake.
What stays on your device
The app saves only these things, and only on your device. The first three go in your browser’s local storage, a small store on your device that only this site can read.
The score keeper. It saves its scores, any finished games in the match, and your choice of match and scoring. So a game you’re scoring with real cards is still there if you close the page.
A game in progress. The game you’re playing (and its match, if it’s part of one) is saved as you play, so you can pick it up after closing the page. It’s deleted when the game ends or you start a new one.
Your settings. Your choices in Settings are saved, so the app opens the same way next time: appearance (light, dark or system), contrast mode, card faces, suit colours, handedness, animations, auto-play, hints and sound. If you close the offer to install the app, or the offer of the tutorial (or take the tutorial), that’s saved too, so it isn’t offered again.
Your game history. Each game you finish against the computer is kept for your stats: the cards dealt, what each of you threw and played, and the scores. It goes in your browser’s IndexedDB, a larger store on your device that only this site can read. Turn it off in Settings (Game history), or clear it or save it to a file on the Game history page (under Stats). The tutorial isn’t kept.
An offline copy. If your browser can, it keeps a copy of the app’s own files, so the app works without the internet. That copy holds only the app, nothing about you.
None of this ever leaves your device. Your choice of opponent isn’t saved, except as part of a game in progress. To remove everything, use Reset at the bottom of Settings, or clear this site’s data in your browser’s settings.
The website host
The site is hosted on Cloudflare. When you open the page, your browser asks Cloudflare’s servers for it, as with any website. Cloudflare may keep a record of that request, including your IP address (the number that identifies your internet connection). It does this for security and to keep the service running. The app can’t see those records. Cloudflare’s analytics and anything else that would add scripts to the page are switched off. Cloudflare explains what it does in its privacy policy (opens in a new tab).
If you play a copy of the app hosted somewhere else, that host’s own policy applies when the page loads. The app itself works the same wherever it’s hosted.
If you email us
The address at the foot of every page, hello@brasspeg.com, opens your own email app. Nothing is sent from the app itself. If you write, we get your email address and whatever you put in the message, and use them only to reply and to fix what you tell us about. We don’t add you to any list or pass your details on. Ask, and we’ll delete your messages.
Links to other sites
A few links go to other sites: Buy me a coffee at the top of the page and Cloudflare’s privacy policy above. Nothing is sent to those sites unless you follow a link. Once you do, their own policies apply.