Skip to content

Instantly share code, notes, and snippets.

@Cst2989
Created October 22, 2021 10:41
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 Cst2989/7a91810411e9c1d18282725858fe89b5 to your computer and use it in GitHub Desktop.
Save Cst2989/7a91810411e9c1d18282725858fe89b5 to your computer and use it in GitHub Desktop.
check for a strike
if (roundScore === 'X') {
score += 10 + frames[index + 1][0] + frames[index + 1][1];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment