/// <summary> /// Start the current game session. (Disposes the current game if its ongoing) /// </summary> /// <param name="config">The configuration for the layout of the board.</param> /// <param name="playersPlaying">The list of players playing.</param> public void StartGame(BoardConfiguration config, IEnumerable <Player> playersPlaying) { StartGame(config.Columns, config.Rows, config.TypeOfCardsCount, playersPlaying); }
/// <summary> /// Start the current game session. (Disposes the current game if its ongoing) /// </summary> /// <param name="config">The configuration for the layout of the board.</param> /// <param name="noOfPlayers">The number of players playing.</param> public void StartGame(BoardConfiguration config, int noOfPlayers = 1) { StartGame(config.Columns, config.Rows, config.TypeOfCardsCount, noOfPlayers); }