Giter VIP home page Giter VIP logo

closethebox's Introduction

Close The Box aka Shut The Box

https://en.wikipedia.org/wiki/Shut_the_box

I play with the 10 tile\lever variation.

Player rolls two dice.

Firstly both numbers are added(if total is 11 or 12 then this step is skipped), if the total tile\lever number is up then it is shut\closed\put down.

If the total tile\lever is already down, then we check both of the single digit number tiles\levers, if either are up then we put them down.

The player continues until all the numbers are down: the box has been closed\shut, or more likely, the player has a turn where they can not put a title\lever down.

The numbers left "up" are then added together to form the player's total. The lower the number the better.

Often a player has one full game as above and then another player has one full game, totals are recorded for 5 games each, a grand total is calculated and the player with the lowest number wins.
If a player closes\shuts the box they auto win the full 5 rounds immediately(no further games played and total ignored).

We bought a physical version from Amazon:
https://www.amazon.com.au/Players-Classic-Instructions-Classics-Tabletop/dp/B08NT7CYK6/ref=asc_df_B08NT7CYK6/?tag=googleshopdsk-22&linkCode=df0&hvadid=463557333589&hvpos=&hvnetw=g&hvrand=7040581156940882186&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9068906&hvtargid=pla-1641912627480&psc=1

This app runs a single player game a specified amount of times and displays the precentage of times a close the box win occurs.

This confirms that closing the box occurs approx 3.34 % of games.

closethebox's People

Contributors

danielspindler83 avatar

Watchers

 avatar

Forkers

jonnygorm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.