code: def start_game(debug=False):
      
      args = parse_cli_args()
  
      if args['version']:
          print_version_and_exit()
  
      if args['rules']:
          print_rules_and_exit()
  
      game = Game(**args)
      if args['resume']:
          game.restore()
  
      if debug:
          return game
  
      return game.loop()
docs: Start a new game. If ``debug`` is set to ``True``, the game object is
      returned and the game loop isn't fired.