issue #3935 Refactor CCGame to run game.