Skip to content

Instantly share code, notes, and snippets.

@waterlink
Created Oct 15, 2018
Embed
What would you like to do?
step - 13
val firstWins = when (first to second) {
SCISSORS to PAPER,
PAPER to ROCK,
ROCK to SCISSORS -> true
else -> false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment