Skip to content

Instantly share code, notes, and snippets.

@calvinnor
Last active October 13, 2019 10:20
Show Gist options
  • Save calvinnor/35b4b47050d4f72511353cedfa0db1e6 to your computer and use it in GitHub Desktop.
Save calvinnor/35b4b47050d4f72511353cedfa0db1e6 to your computer and use it in GitHub Desktop.
ivPlayerOneAddScore.setOnClickListener {
] gameState.playerOneScore += 1
updateScores()
}
ivPlayerTwoAddScore.setOnClickListener {
gameState.playerTwoScore += 1
updateScores()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment