Cribbage

Goal

Be the first of two players to peg 121 points. Points come from playing cards (pegging) and from counting your hand and the crib (the show). The game ends the moment someone reaches 121, even in the middle of a count.

Rulebook

Cards. A standard 52-card deck. Ace is low (1), the 2 to 10 are their pips, and J, Q and K count 10 for adding up. Rank order for runs is A 2 3 … 10 J Q K, and a run cannot wrap round from K to A.

The deal. A coin flip picks the first dealer, and the deal alternates each hand. Both players get six cards. Each player puts two cards face down into the crib, which belongs to the dealer and is counted at the end of the hand. The cut then happens by itself: one card is turned up from the rest of the deck and is the starter. If it is a Jack (“his heels”) the dealer scores 2 at once.

Pegging (playing the cards). The player who is not the dealer leads. You take turns putting one card face up on a shared pile and saying the running total (the count). The count may not go above 31.

You score as you play:

PlayPoints
Count reaches exactly 152
Count reaches exactly 312
Your card makes a pair with the one before it2
… three of a kind in a row6
… four of a kind in a row12
Your card completes a run of 3 or more at the end of the pile, in any order1 per card in the run
Go: the last card played before the count restarts (not when it ended on 31)1

If you cannot play without going over 31, you say Go and the other player carries on. When neither player can play, the last player to put down a card scores the Go point and the count restarts at 0. Play continues until both hands are empty.

The show (counting the hands). Each hand is four cards plus the starter, counted in this order: the non-dealer’s hand, then the dealer’s hand, then the crib. Score every combination you can find:

CombinationPoints
Any set of cards adding to 152 each set
Each pair2
Each run of 3 or more1 per card, counted once per different run
Flush: all four hand cards one suit4, or 5 if the starter matches too
Flush in the cribonly counts at 5 (the starter matches as well)
“Nobs”: a Jack in your hand of the starter’s suit1

Nothing counts for you. This is the part that differs from a computer scorer. You have to take your own points, in pegging and in the show.

  • In pegging, when your card scores, the game shows what it was worth and you press claim points to take it. If you do not claim before your opponent plays a card or says Go, you lose those points. Your opponent can also call Muggins before they play, and take the points for themselves.
  • In the show you announce a total, then show it by picking out each scoring group of cards. When you finish, your opponent either accepts or calls Muggins (once per hand or crib) and shows what you missed.

Optional house rules, chosen when the table is made:

  • Announcement penalty: if the total you announce differs from what you actually show, the difference goes to the other player.
  • Chess clock: each player has a bank of minutes plus a per-move increment. When your time is gone you either forfeit the game or, if forfeiting is off, a sensible move is made for you (lowest cards discarded, lowest legal card played, Go if nothing can be played, announce 0, accept).

Where this implementation chooses

  • Two players only. No skunk or double-skunk bonus.
  • The first dealer is a coin flip, not a cut for deal.
  • The announced score is not binding unless the announcement penalty is on.
  • Muggins applies to the show as well as to pegging.

The reasons are in ../../ledger/cribbage/RULESET_DECISIONS.md.