Vincent Shizuo Newkirk
I am a Tokyo-based Full-Stack developer specializing in React. I enjoy working with and learning new technologies in an effort to always be improving my own skills.
Your task is to write a function for calculating the score of a 10 pin bowling game. The input for the function is a list of pins knocked down per roll for one player. Output is the player's total score.
A game consists of 10 frames. In each frame the player rolls 1 or 2 balls, except for the 10th frame, where the player rolls 2 or 3 balls. The total score is the sum of your scores for the 10 frames