Bowling game kata using CoffeeScript