Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@waterlink
Created October 15, 2018 15:50
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/5f1730eeae6d21cb2e0667f5bee9e66b to your computer and use it in GitHub Desktop.
Save waterlink/5f1730eeae6d21cb2e0667f5bee9e66b to your computer and use it in GitHub Desktop.
step - 9
if (first == SCISSORS && second != ROCK ||
first == PAPER && second != SCISSORS ||
first == ROCK && second != PAPER) {
return FIRST_PLAYER
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment