This is solution for Bowling score calculations, based on Kata at codingdojo. https://codingdojo.org/kata/Bowling/
Assuming input as array of integers, 10 frames hence 21 entries, 0 means a miss, 10 means a strike and if total of a frame is 10 then spare.
Programming Language: Typescript
Test framework: Jest under TDD