See the examples on gtree website for detailed explanation.

new_game(gameId, params = game_params(), options = make_game_options(),
  stages, variant = "", check = TRUE)