code: def init_env(
      max_steps,
      env_class,
      seed=None,
      grid_size=3,
      players_can_pick_same_coin=True,
  ):
      config = {
          "max_steps": max_steps,
          "grid_size": grid_size,
          "both_players_can_pick_the_same_coin": players_can_pick_same_coin,
      }
      env = env_class(config)
      env.seed(seed)
      return env
  
imports: import random
  import numpy
  from ray.rllib.examples.env.coin_game_non_vectorized_env import CoinGame, AsymCoinGame
label_desc: Use image node_id 3 for calling a global function with example usage: init_env(max_steps, env_class, seed, grid_size, players_can_pick_same_coin) and returns: env