/// <summary> /// Default ctor /// </summary> public GameFlow(IEnumerable<Player> players) { _players = new LinkedList<Player>(players); _computerLogic = new LookAheadComputer(); // TODO configurable / per computer player _currentPlayerNode = _players.Last; _wormsToTake = new List<RainyWorm>(RainyWorm.All); _currentTurn = new ThrowFlow(this); Next(); }
/// <summary> /// Default ctor /// </summary> public GameFlow(IEnumerable <Player> players) { _players = new LinkedList <Player>(players); _computerLogic = new LookAheadComputer(); // TODO configurable / per computer player _currentPlayerNode = _players.Last; _wormsToTake = new List <RainyWorm>(RainyWorm.All); _currentTurn = new ThrowFlow(this); Next(); }