Removing side effects from BallGame.