Shut the Box Games

About

About Shut the Box Games

Shut the Box Games is a small, independent site for one game: Shut the Box. It comes from the team behind Play Higher Lower and follows the same idea: quick games that work in any browser, with no account, no download and no ads.

How the dice are rolled

Solo games, pass and play, and friends rooms use your browser's (or our server's) cryptographic random number generator, crypto.getRandomValues. Each die takes one random byte. Bytes from 252 to 255 are thrown away and drawn again, so the six faces come up equally often. In rooms the server rolls the dice and checks every move, so nobody can change their own roll. The daily game is different on purpose: its dice come from a sequence seeded with the date, so everyone gets the same rolls.

How the solver works

The hint button, the hard computer player, the best-move calculator and every number on the strategy page come from one exact solver. It works backwards from every possible set of open tiles (512 for a 9-tile box, 4,096 for 12) and every roll, with the real dice probabilities, and finds the move with the lowest expected final score. The pages are generated from the same code, so the copy can't disagree with the game. The tables are free to download under CC BY 4.0.

No money, ever

Shut the Box was a pub gambling game for a long time. This site has no stakes, no coins, no prizes and no paid extras. It is free to play and will stay that way.

Contact

Found a bug, or want a rule variant added? Send it through our contact form.

Back to the Shut the Box game