Exemplo n.º 1
0
        private bool IsSuiteBetterInformation(IReadOnlyPlayer nextPlayer, Card chop)
        {
            var suiteInformationAffectedCards  = nextPlayer.InformationAffectedCards(chop.Suite);
            var numberInformationAffectedCards = nextPlayer.InformationAffectedCards(chop.Number);

            return(suiteInformationAffectedCards.Count() <= numberInformationAffectedCards.Count());

            // TODO SaveNextChop may give the better clue if other tactics, e.g. PlayStandaloneClued does not pick them up eagerly.
        }
Exemplo n.º 2
0
 public bool CanGiveInformation(IReadOnlyPlayer otherPlayer, Number number)
 {
     return((Table.InformationTokens.Amount > 0) &&
            otherPlayer.InformationAffectedCards(number).Any());
 }