public bool TryTakeNewCardFor(int player) { if (_developmentColumn.HasPlaceForCard()) { var card = _todoColumn.ExtractCardFor(player); _developmentColumn.AddCard(card); return(true); } return(false); }
public InProgressColumn Please() { var column = new InProgressColumn(_wipLimit); foreach (var card in _cardsToAdd) { column.AddCard(card); } return(column); }
public bool TryMoveCardOwnedBy(int player) { if (_testingColumn.HasUnblockedCardOwnedBy(player)) { var card = _testingColumn.ExtractCardOwnedBy(player); _doneColumn.AddCard(card); return(true); } if (_developmentColumn.HasUnblockedCardOwnedBy(player) && _testingColumn.HasPlaceForCard()) { var card = _developmentColumn.ExtractCardOwnedBy(player); _testingColumn.AddCard(card); return(true); } return(false); }