C# Class ZatvorenoAI.MCST.EndgameAnalyzer

Afficher le fichier Open project: KonstantinSimeonov/Zatvoreno

Méthodes publiques

Méthode Description
Compute ( Node root, Santase.Logic.Cards.Card oppCard, IList myCards, IList oppCards, int myPoints, int oppPoints ) : void
HasSameSuitAs ( this card, Santase.Logic.Cards.Card card2 ) : bool
IsTrump ( this card ) : bool

Private Methods

Méthode Description
Compute ( Node root, Santase.Logic.Cards.Card firstPlayedCard, object myCards, object opponentTookWith, int firstPlayerRoundPoints, int secondPlayerRoundPoints ) : void

Method Details

Compute() public static méthode

public static Compute ( Node root, Santase.Logic.Cards.Card oppCard, IList myCards, IList oppCards, int myPoints, int oppPoints ) : void
root Node
oppCard Santase.Logic.Cards.Card
myCards IList
oppCards IList
myPoints int
oppPoints int
Résultat void

HasSameSuitAs() public static méthode

public static HasSameSuitAs ( this card, Santase.Logic.Cards.Card card2 ) : bool
card this
card2 Santase.Logic.Cards.Card
Résultat bool

IsTrump() public static méthode

public static IsTrump ( this card ) : bool
card this
Résultat bool