PROJECT EULER · #0683
The Chase II
Consider the following variant of "The Chase" game. This game is played between
At the beginning of a round, each die is given to a randomly selected player. A round then consists of a number of turns.
During each turn, each of the two players with a die rolls it. If a player rolls a 1 or a 2, the die is passed to the neighbour on the left; if the player rolls a 5 or a 6, the die is passed to the neighbour on the right; otherwise, the player keeps the die for the next turn.
The round ends when one player has both dice at the beginning of a turn. At which point that player is immediately eliminated and has to pay
Let
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.