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