Please login with GitHub in order to save solutions and appear on the leaderboards.

Ten-pin Bowling

Given a series of ten-pin bowling scoreboards, determine the final scores based on the traditional scoring method.

Traditional scoring method: https://en.wikipedia.org/wiki/Ten-pin_bowling#Traditional_scoring

arguments holds ARGV, print() to output with a newline, write() to output without a newline.
say() is available without any import.