       Re: Optimization problem for dice game (repost)

• To: mathgroup at smc.vnet.net
• Subject: [mg109604] Re: Optimization problem for dice game (repost)
• From: Rui <rui.rojo at gmail.com>
• Date: Sat, 8 May 2010 07:05:06 -0400 (EDT)
• References: <hrrfpn\$i5o\$1@smc.vnet.net>

```On May 5, 7:03 am, Peter Sisak <p-ku... at hotmail.com> wrote:
> Hello,
>
>   I wish to use Mathematica to determine the best strategy applicable to the following game:
>   1. The game is played with 6 6-sided fair dice.
>   2. At the beginning of the game, the player rolls all 6 dice at once.
>   3. Each die may then be either a) put in hold (its value gets fixed) orb) set to be re-rolled. At least one die must be put in hold per roll. If all dice are put in hold, there are no further rolls, scoring follows.
>   4. On re-roll, step 3 follows again, i.e. the player decides which of the resulting dice are put in hold (at least one must be), and re-roll the rest, if there are dice remaining which are not in hold.
>   5. Scoring is executed in the following manner: The hand must contain at least one "1" and one "4" die. If either of these cannot be found, then the hand does not qualify for scoring (the score is 0). If it qualifies, t he values of the respective dice are summed; the maximum reachable score is thus 29 (four 6s, one 4 and one 1), while the minimum score where the hand still qualifies for scoring is thus 9 (one 4 and five 1s).
>
>   Since the dice already put in hold do not change, it is trivial that the following cases must be examined separately:
> a) if there are six dice that are still free, then the entire set of possibilities.
> b) if there are five dice that are still free, then 1. the case when the
die put in hold is a "1" 2. the case when the die put in hold is a "4" 3. the case when the die put in hold is neither "1" nor "4".
> c) if there are less than five dice still free, then 1. the case when amongst the dice put in hold both "1" and "4" can be found 2. the case when amongst the dice put in hold "1" can be found but not "4" 3. the case when amongst the dice put in hold "4" can be found but not "1" 4. the case when amongst the dice put in hold neither "1" nor "4" can be found.
>
> It would be helpful furthermore if there would be a kind of generalisation/collation step at the final "best strategy" output, since otherwise, the number of entries in the list would be huge. Ideas?
>
> Thank you in advance
> Peter Sisak

> _________________________________________________________________

It is still not totally clear what "best strategy" means to me. If
there are lots of players and you want to win, maximizing the chances
of getting a reaaaal high score/highest makes sense. However if there
are not lots of players and each game takes lots of rolls, makes more
sense to me to maximize the mean score. Not that I know how to do
that ;D

```

• Prev by Date: Re: RuleDelayed for parsing XML with multiple children
• Next by Date: Re: matrix equation
• Previous by thread: Re: Optimization problem for dice game (repost)
• Next by thread: Re: Optimization problem for dice game (repost)