Skip to content

Instantly share code, notes, and snippets.

@waterlink
Created October 15, 2018 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waterlink/c94a6057ef12f3661fdac457deae5600 to your computer and use it in GitHub Desktop.
Save waterlink/c94a6057ef12f3661fdac457deae5600 to your computer and use it in GitHub Desktop.
step - 7
@Test
fun `game rules`() {
// Classic rules
SCISSORS beats PAPER
PAPER beats ROCK
ROCK beats SCISSORS
// Additional modern rules
ROCK beats LIZARD
LIZARD beats SPOCK
SPOCK beats SCISSORS
SCISSORS beats LIZARD
LIZARD beats PAPER
PAPER beats SPOCK
SPOCK beats ROCK
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment