Bowling Game designed as a state machine