PlayNook

Dice Game · Dice Game

Play Shut the Box Online — Free Dice Game

Roll two dice, close any open numbers adding up to the total, and keep going until nothing covers your roll. What is left standing is your score, and low wins.

Roll two dice, close any open numbers that add up to the total, and keep rolling for as long as you can cover what you throw. When nothing covers your roll the turn ends, and whatever is still standing is your score. Low wins. Close everything and you have shut the box.

  • 11.16 average score a turn under perfect play, nine tiles
  • 1 in 14 turns shuts the box — 1 in 10 with the one-die rule
  • 1 in 276 with twelve tiles instead of nine
  • 512 positions, all solved exactly

How do you play Shut the Box?

One turn of Shut the Box. The numbers 2, 4 and 7 are already closed, leaving 1, 3, 5, 6, 8 and 9 open, worth 32 points. A roll of 5 and 4 makes 9, and four combinations cover it: 9 alone, 8 plus 1, 6 plus 3, or 5 plus 3 plus 1.
A roll of 9 against this position has four legal answers. Taking the 9 on its own is the best of them.
  1. Roll both dice. Add them up — that total is what you have to cover.
  2. Close any combination of open numbers that adds up to it. One number or several, your choice. A 9 can be the 9, or 6+3, or 5+3+1.
  3. Roll again, and keep going for as long as every roll can be covered.
  4. When a roll cannot be covered, the turn ends. Add up what is still open: that is your score, and low is good.

Three rounds each, scores added up, lowest total wins. Both players take a whole turn at a time — nothing you do touches the other player's box, which is why this is a race against a number rather than a fight.

You can play that race against a friend over the internet: open a table, send them the four-letter code, and you are playing. No account, no sign-up. The server throws the dice rather than either browser, so you both see the same roll — and there is a chat window while you watch each other push your luck.

What is a good score in Shut the Box?

Single figures. The nine-tile game has only 512 possible positions, which is small enough to evaluate every one of them exactly rather than sample them, and under flawless play the average turn leaves 11.16 points standing.

That figure is also the ceiling, and it is worth knowing before you blame yourself for a bad round. Shutting the box happens about once in fourteen turns with two dice throughout. Most turns end with eight to fifteen points on the board no matter how well you play.

Which numbers should you close first?

Four ways of playing Shut the Box compared over all 512 positions. Average score left: perfect play 11.16, biggest number first 11.37, fewest numbers 11.32, most numbers 24.15. How often the box shuts: 7.14, 6.96, 7.00 and 1.04 per cent.
The folk rule costs a fifth of a point against perfect play. The opposite habit costs thirteen.

The big ones — but the interesting part is how little it matters. Always taking the biggest available number averages 11.37 against 11.16 for perfect play. Whatever you have been doing at the kitchen table is very nearly optimal, and nobody needs to study this game.

Is there an unlucky number in Shut the Box?

Bar chart of how often each tile from 1 to 9 is still standing when a Shut the Box turn ends under perfect play. All nine sit between 22 and 27 per cent, the 8 highest and the 7 lowest.
Every number survives to the end about a quarter of the time. There is no cursed tile.

Everyone has one. The maths does not: across every position, each number is the one left standing between 22 % and 27 % of the time. The 8 survives most often and the 7 least, and five percentage points is noise, not a pattern. That is a nice thing to be able to settle at a table.

Should you use the one-die rule?

Once every number above 6 is closed, a common house rule lets you roll a single die instead of two. Yes — but only as a choice, and that distinction is worth more than any other decision in the game.

How the rule is usedAverage scoreBox shuts
Table rule, two dice always11.371 in 14
Table rule, one die whenever allowed12.271 in 18
Perfect play, deciding each time11.011 in 10

Taken automatically it makes you worse on both counts, which is how most tables play it. With 5 and 6 left, two dice can roll an 11 and finish the game; one die cannot, and you have thrown that chance away. The rule of thumb: take one die when what remains cannot be covered as a pair.

How many numbers should the box have?

NumbersAverage scoreBox shuts
1 to 911.161 in 14
1 to 1016.651 in 25
1 to 1235.081 in 276

Nine is the classic and the right default. Ten looks like a small change and is not: the 10 can never be covered by a single die, so the endgame hardens. Twelve is a different game altogether — every roll of two dice can be covered by one tile, so turns run long and shutting it is a genuinely rare afternoon.

How strong is the computer?

The three computer levels compared with the one-die rule on: easy averages 20.44 points a turn and shuts the box 2.1 per cent of the time, medium 12.27 and 5.6 per cent, hard 11.01 and 9.7 per cent.
Hard holds the exact value of every position. Medium plays the rule your family plays.

The levels differ in judgement, not in how far they look ahead — searching deeper is meaningless when a die reshuffles the position every roll. Easy has no preference at all, medium follows the table rule, and hard holds the exact value of all 512 positions and decides the dice count by comparing them.

Over 20,000 matches, hard beats easy 90.8 % of the time and medium 58.6 %. Turn the one-die rule off and hard against medium falls to 51.6 % — a coin toss. That is the honest measure of this game: the whole advantage of perfect play lives in one house rule.

Where does Shut the Box come from?

A pub game from the Normandy coast, played on a wooden tray with hinged tiles that fall flat when you close them — which is where the name comes from, and why a printed sheet works just as well as the box. Fishermen are usually credited with spreading it along the Channel, and it turns up in British pubs through the twentieth century as a bar game played for rounds.

It has since become a fixture in primary classrooms, and deservedly: every roll asks which of the open numbers add up to this total, and the child works that out to make their own move rather than to fill in a worksheet.

If you would rather play it on paper, the printable Shut the Box sheets give you the same game in 9, 10 or 12 numbers, six or ten games to a page.

Other dice games worth two players

Dice games for two players compares seven of them by how much skill is genuinely in each — Shut the Box among them, and Pig, which is solved exactly.

Frequently asked questions

+ How do you play Shut the Box?

All the numbers start open. Roll two dice and close any combination of open numbers that adds up to the total — a roll of 9 can be the 9 itself, or 6+3, or 8+1, or 5+3+1, whichever is still open. Then roll again. The moment you roll a total you cannot make, your turn is over and the numbers still standing are your score. Low wins, and closing every number is shutting the box: nought, the best possible turn.

+ What is a good score in Shut the Box?

Anything in single figures is a good turn. We solved the nine-tile game exactly and the average score under perfect play is 11.16 with two dice throughout, or 11.01 if the one-die rule is used well. So beating 11 means you had a good turn, and beating it consistently mostly means the dice liked you.

+ How often can you actually shut the box?

With nine tiles and perfect play, about once in fourteen turns using two dice throughout, or once in ten if the one-die rule is available and used as a choice. With twelve tiles it collapses to roughly once in 276 turns. Those are exact figures from evaluating every position, not estimates from a sample.

+ Which numbers should you close first?

The big ones. A large number left standing at the end is both hard to hit and expensive to hold. The gain is smaller than people assume — always taking the biggest number averages 11.37 against 11.16 for perfect play — but the opposite habit is genuinely costly: closing as many small numbers as you can each roll more than doubles your average score, to 24.15.

+ Is there an unlucky number in Shut the Box?

No. We computed how often each tile is the one still standing when a turn ends, and every number from 1 to 9 lands between 22 % and 27 %. The 8 survives most often and the 7 least, and a five-point spread is not a pattern worth playing around. If a number keeps beating you, that is memory, not mathematics.

+ What is the one-die rule?

A common house rule: once every number above 6 is closed, you may roll a single die instead of two. It is worth having, but only as a choice. Taken automatically every time it allowed — which is how most people play it — it makes you worse on both counts, raising the average score from 11.37 to 12.27 and lowering how often the box shuts. Used as a decision it lifts shutting the box from once in fourteen turns to once in ten.

+ How many numbers should the box have?

Nine is the classic and the right default. Ten is a bigger change than it looks, because the 10 can never be covered by a single die, and it pushes the average score from 11 to 16.6. Twelve is a different game: every roll of two dice can be covered by one tile, so turns run long, scores run high, and shutting the box becomes a once-in-276-turns event.

+ How do the three computer levels differ?

Not by searching deeper — a die reshuffles the position every roll, so depth buys nothing. They differ in what they can see. Easy picks at random among the legal moves. Medium plays the table rule everybody uses, closing the biggest number it can, and takes the single die whenever the house rule allows it. Hard holds the exact value of all 512 positions and also decides one die or two by comparing them. Over 20,000 matches hard beats easy 90.8 % of the time and medium 58.6 %.

+ Can I play Shut the Box with a friend online?

Yes. Choose 'With a friend online' below the board and press Open a table. You get a four-letter code; send it to your friend, they type it in and press Join. No account and no sign-up. The dice are thrown by the server rather than by either browser, so you both see exactly the same roll, and there is a chat window built in.

+ Can two people play on one device?

Yes — choose 'Two players, this device' and pass it back and forth. Each player takes a whole turn at a time, which is how the game is played with a wooden box anyway: there is nothing to interfere with while the other person rolls.

+ Is it free?

Yes, free and with no sign-up. Nothing is saved; close the tab and start fresh.

More games like this

Pig — screenshot of the browser gameDice Game
Dice Game2 Players

Pig

Roll one die and keep adding. Roll a 1 and the whole turn is gone. Stop whenever you like — and knowing when is the entire game.

  • Every one of the million positions solved — the game can show you the right answer
  • Play a friend over the internet, a four-letter code, no sign-up
  • Three computer levels; the strongest plays the exact solution
Play Pig
Farkle — screenshot of the browser gameDice Game
Dice Game2 Players

Farkle

Six dice, and one question asked over and over: bank what you have, or roll the rest and risk the lot. Roll nothing that scores and the whole turn is gone.

  • Play a friend over the internet — a four-letter code, no sign-up
  • The bank-or-roll decision solved exactly, and the answer is not 300
  • Three computer levels; the strongest holds the whole value table
Play Farkle
Yatzy — screenshot of the browser gameDice Game
Dice Game2 Players

Yatzy

Five dice, three rolls a turn, fifteen categories to fill. Two extra rows Yahtzee doesn't have, and several categories that score differently even where the names match.

  • The real Scandinavian scorecard — fifteen categories, not Yahtzee's thirteen
  • One Pair, Two Pairs, and a Full House that scores nothing for five of a kind
  • Against the computer, a friend online, or two players on one device
Play Yatzy
Dominoes — screenshot of the browser gameBoard Game
Tile Matching2 Players

Dominoes

Double-six set, 28 tiles, seven to a hand. Match a tile to either open end of the line, or draw when nothing fits — the first to empty a hand wins.

  • Real hidden hands — the computer, and your online opponent, can't see your tiles
  • Draw dominoes: no forced passing while the boneyard still has tiles
  • Against the computer, a friend online, or two players on one device
Play Dominoes