Skip to content

Instantly share code, notes, and snippets.

@hvgotcodes
Created July 17, 2012 00:29
Show Gist options
  • Save hvgotcodes/3126106 to your computer and use it in GitHub Desktop.
Save hvgotcodes/3126106 to your computer and use it in GitHub Desktop.
if 9 >= holeNumber >= 1
outScore += holeScore if holeScore
outToPar += holeScore - par if par.length and holeScore
else
inScore += holeScore if holeScore
inToPar += holeScore - par if par.length and holeScore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment