public Game(List <IPlayer> players) { // Do stuff _players = players; _dices = DicesFactory.getIDicesInstance(); _currentTurn = 0; _turns = new ITurn[TURNS]; _scoreboard = new Scoreboard(players); NewTurn(); OnStart(); }
public void UseCombination(Scoreboard sb, Combination c, IDices dices) { sb.SetCombinationForPlayer(_player, c, dices); TurnEnded?.Invoke(this, EventArgs.Empty); }