Brush up ruby code 'Bowling game system'