code: def player2():
      game = DoomGame()
  
      game.load_config("../../scenarios/multi_duel.cfg")
      game.set_window_visible(False)
      game.add_game_args("-join 127.0.0.1")
      game.add_game_args("+name Player2 +colorset 3")
  
      game.init()
  
      actions = [
          [True, False, False],
          [False, True, False],
          [False, False, True],
      ]
  
      while not game.is_episode_finished():
          if game.is_player_dead():
              game.respawn_player()
  
          game.make_action(choice(actions))
  
      print(
          "Player2 frags:",
          game.get_game_variable(vzd.GameVariable.FRAGCOUNT),
      )
      game.close()
  
imports: from multiprocessing import Process
  from random import choice
  import vizdoom
  from vizdoom import DoomGame, os
label_desc: Use image node_id 2 for calling a global function with example usage: player2() without return types