code: def setup_player():
      game = vzd.DoomGame()
  
      game.load_config(config)
      game.set_mode(mode)
      game.add_game_args(args)
      game.set_screen_resolution(resolution)
      game.set_console_enabled(console)
      game.set_window_visible(window)
      game.set_ticrate(ticrate)
  
      actions = [
          [1, 0, 0, 0, 0, 0, 0, 0, 0],
          [0, 1, 0, 0, 0, 0, 0, 0, 0],
          [0, 0, 1, 0, 0, 0, 0, 0, 0],
      ]
  
      return game, actions
  
file_path: ViZDoom/examples/python/multiple_instances_advance.py
imports: import os
  from multiprocessing import Process, cpu_count
  from random import choice, random
  from time import sleep, time
  import vizdoom
label_desc: Use image node_id 1 for calling a global function with example usage: setup_player() and returns: game,  actions