Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <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);
 }