Fun with 10-pin bowling in Ruby using a functional programming approach.