public bool TryTakeNewCardFor(int player) { if (_developmentColumn.HasPlaceForCard()) { var card = _todoColumn.ExtractCardFor(player); _developmentColumn.AddCard(card); return(true); } return(false); }
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); }