refactored some of the code in BowlingGame.cs