code: def play(process, instances, config_file):
      games = []
      for i in range(instances):
          game = vzd.DoomGame()
          game.load_config(config_file)
          game.set_mode(vzd.Mode.PLAYER)
          game.set_window_visible(False)
          game.init()
          games.append(game)
          print(f"Process {process}: Game {i} started...")
  
      actions = [
          [True, False, False],
          [False, True, False],
          [False, False, True],
      ]
  
      for g in games:
          g.new_episode()
          while not g.is_episode_finished():
              g.make_action(choice(actions))
  
      for g in games:
          g.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(process, instances, config_file) without return types