CustomGame.ClickOption(GameOption option);
public void ClickOption(
    GameOption option

Option to click.
Type: CustomGameOW.GameOption

Changes game state.
GameOption.Start: Starts game while in lobby.
GameOption.BackToLobby: Goes back to lobby while waiting for players or ingame.
GameOption.Restart: Restarts game while waiting for players or ingame.
GameOption.StartGamemode: Starts gamemode when waiting for players.

The example below will wait for enough players to join then start the game.

using System;
using CustomGameOW;


static void Main(string[] args)
    CustomGame cg = new CustomGame();

    int minimumRequiredPlayers = 8; // Minimum required players

        // Start game when enough players join.
        int playercount = cg.playercount; // Minimum required players

        if (playercount >= minimumRequiredPlayers)