Skip to content

Instantly share code, notes, and snippets.

@rjkat
Created June 22, 2012 03:45
Show Gist options
  • Save rjkat/2970101 to your computer and use it in GitHub Desktop.
Save rjkat/2970101 to your computer and use it in GitHub Desktop.
if (player == PLAYER_ONE) {
player = PLAYER_ONE;
} else if (player == PLAYER_TWO) {
player = PLAYER_TWO;
} else {
player = PLAYER_THREE;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment