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