code: def play(config_file, ticrate=35):
      game = vzd.DoomGame()
  
      game.load_config(config_file)
      game.set_mode(vzd.Mode.ASYNC_PLAYER)
  
      game.set_ticrate(ticrate)
  
      game.init()
  
      actions = [
          [True, False, False],
          [False, True, False],
          [False, False, True],
      ]
      episodes = 10
  
      for i in range(episodes):
          game.new_episode()
  
          while not game.is_episode_finished():
              game.make_action(choice(actions))
  
      game.close()
  
imports: import os
  from argparse import ArgumentParser
  from multiprocessing import Process
  from random import choice
  import vizdoom
label_desc: Use image node_id 1 for calling a global function with example usage: play(config_file, ticrate) without return types