avatar Bite 294. Bowling score

If you've never tried bowling, it's a fun game to play but keeping score can be confusing when you're first getting started.

In this Bite you will be given a string of frame data and need to complete the calculate_score() function and return a final score.  

Strikes are represented with an X, spares with a /, and gutter balls with a -.

Details on how to keep score can be found here and here.

Login and get coding
go back Advanced level
Bitecoin 4X

33 out of 34 users completed this Bite.
Will you be the 34th person to crack this Bite?
Resolution time: ~109 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 7.5 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help