C# Class ZatvorenoAI.CardEvaluator.CardEvaluatorWorthBased

Inheritance: ICardEval
ファイルを表示 Open project: KonstantinSimeonov/Zatvoreno

Public Methods

Method Description
CardEvaluatorWorthBased ( ICardTracker tracker ) : System.Collections.Generic
CardScore ( Santase.Logic.Cards.Card card, Santase.Logic.Players.PlayerTurnContext context, ICollection allowedCards ) : float

Private Methods

Method Description
CurrentCardWorth ( Santase.Logic.Cards.Card card, Santase.Logic.Players.PlayerTurnContext context, ICollection allowedCards ) : float
MaxHandValue ( Santase.Logic.Cards.Card card, Santase.Logic.Players.PlayerTurnContext context ) : float
MaxTakeCases ( int cardValue, CardSuit suit ) : int
NineEvaluation ( Santase.Logic.Cards.Card nine, Santase.Logic.Players.PlayerTurnContext context ) : float
QueenKingEvaluation ( Santase.Logic.Cards.Card card, Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : float

Method Details

CardEvaluatorWorthBased() public method

public CardEvaluatorWorthBased ( ICardTracker tracker ) : System.Collections.Generic
tracker ICardTracker
return System.Collections.Generic

CardScore() public method

public CardScore ( Santase.Logic.Cards.Card card, Santase.Logic.Players.PlayerTurnContext context, ICollection allowedCards ) : float
card Santase.Logic.Cards.Card
context Santase.Logic.Players.PlayerTurnContext
allowedCards ICollection
return float