Skip to content

Instantly share code, notes, and snippets.

@thequbit
Created April 29, 2014 20:11
Show Gist options
  • Save thequbit/f2f836f09215c210d92c to your computer and use it in GitHub Desktop.
Save thequbit/f2f836f09215c210d92c to your computer and use it in GitHub Desktop.
if (i/2 == 9) {
if (i == 18) {
cumulScores[bowlIndex][9] += cumulScores[bowlIndex][8];
}
if(curScore[i] != -2) {
cumulScores[bowlIndex][9] += curScore[i];
}
} else if (i/2 == 10) {
if(curScore[i] != -2) {
cumulScores[bowlIndex][9] += curScore[i];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment