C# Class ZatvorenoAI.MCST.EndgameAnalyzer

Show file Open project: KonstantinSimeonov/Zatvoreno

Public Methods

Method 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

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

Method Details

Compute() public static method

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
return void

HasSameSuitAs() public static method

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

IsTrump() public static method

public static IsTrump ( this card ) : bool
card this
return bool