#ThisWeeksFiddler, 20240927

This week the question is: Can You Win at “Rock, Paper, Scissors, Lizard, Spock?”

In a game of “Rock, Paper, Scissors,” each element you can throw ties itself, beats one of the other elements, and loses to the remaining element. In particular, Rock beats Scissors beats Paper beats Rock.

Rock, Paper, Scissors, Lizard, Spock” (popularized via The Big Bang Theory) is similar, but has five elements you can throw instead of the typical three. Each element ties itself, beats another two, and loses to the remaining two. More specifically, Scissors beats Paper beats Rock beats Lizard beats Spock beats Scissors beats Lizard beats Paper beats Spock beats Rock beats Scissors.

Three players are playing “Rock, Paper, Scissors, Lizard, Spock.” At the same time, they all put out their hands, revealing one of the five elements. If they each chose their element randomly and independently, what is the probability that one player is immediately victorious, having defeated the other two?

And for extra credit:

The rules for “Rock, Paper, Scissors” can concisely be written in one of the following three ways:

  • Rock beats Scissors beats Paper beats Rock
  • Scissors beats Paper beats Rock beats Scissors
  • Paper beats Rock beats Scissors beats Paper

Each description of the rules includes four mentions of elements and three “beats.”

Meanwhile, as previously mentioned, a similarly concise version of the rules for “Rock, Paper, Scissors, Lizard, Spock” (and adapted from the original site) is:

  • Scissors beats Paper beats Rock beats Lizard beats Spock beats Scissors beats Lizard beats Paper beats Spock beats Rock beats Scissors

In this case, there are 11 mentions of elements and 10 “beats.” Including the one above, how many such ways are there to concisely describe the rules for “Rock, Paper, Scissors, Lizard, Spock

Læs mere: #ThisWeeksFiddler, 20240927

For my own sanity:

Highlight to reveal (possibly incorrect) solution:

Program solution.

And for extra credit:

Program assistance.

Skriv en kommentar