UnoTV.Web.Game.GameState.Start C# (CSharp) Method

Start() public method

Starts the game which determines the player order and deals the initial hands to the players.
public Start ( ) : void
return void
        public void Start()
        {
            if (Players.Count < 2)
                throw new Exception("Two or more players required to start.");
            if (Started)
                throw (new Exception("Can't start game that has already started."));

            Started = true;
            ResetGame();
        }