part2 (1171B)
1--- Part Two --- 2 3Now that you're warmed up, it's time to play the real game. 4 5A second compartment opens, this time labeled [1m[97mDirac dice[0m. Out of it falls a single three-sided die. 6 7As you experiment with the die, you feel a little strange. An informational brochure in the 8compartment explains that this is a [1m[97mquantum die[0m: when you roll it, the universe [1m[97msplits into multiple 9copies[0m, one copy for each possible outcome of the die. In this case, rolling the die always splits 10the universe into [1m[97mthree copies[0m: one where the outcome of the roll was 1, one where it was 2, and one 11where it was 3. 12 13The game is played the same as before, although to prevent things from getting too far out of hand, 14the game now ends when either player's score reaches at least [1m[97m21[0m. 15 16Using the same starting positions as in the example above, player 1 wins in 17[1m[97m444356092776315[0m universes, while player 2 merely wins in 341960390180808 universes. 18 19Using your given starting positions, determine every possible outcome. [1m[97mFind the player that wins in 20more universes; in how many universes does that player win?[0m 21 22