Added expression for AI player too.
Bethany Blackwood's high school math class needed a fun way to test their theories of probability. The assignment: see who can come up with the best dice-rolling strategy and get the highest score.
Rules:
Roll a six-sided die as many times as you want, accumulating points as you roll, until...a "1" is rolled in which case you have "pigged out" and lose all points accumulated on this turn, OR you decide to stop and add all the points you have rolled to your total.
There are 2 options for the game end criteria - either a fixed set of POINTS or TURNS.