Uses of Class
cz.matfyz.rudad.joker.card.Card
Packages that use Card
Package
Description
This package contains classes for calculation of the odds of players' hands.
This package contains classes related to the card functionality.
This package contains classes for evaluating a poker hand.
-
Uses of Card in cz.matfyz.rudad.joker.calculator
Methods in cz.matfyz.rudad.joker.calculator that return CardModifier and TypeMethodDescriptionConverts the provided String value to a Card object.Card[]Calculator.getBoard()Returns the array of board cards in the calculator.Card[]Player.getCards()Returns the cards held by the player.Card[]Calculator.getDeadCards()Returns the array of dead cards in the calculator.Methods in cz.matfyz.rudad.joker.calculator that return types with arguments of type CardModifier and TypeMethodDescriptionCalculatorArgs.getBoardCards()Returns the list of board cards.CalculatorArgs.getDeadCards()Returns the list of dead cards.Constructors in cz.matfyz.rudad.joker.calculator with parameters of type CardModifierConstructorDescriptionConstructs a player with a hand given by the cards.Constructor parameters in cz.matfyz.rudad.joker.calculator with type arguments of type Card -
Uses of Card in cz.matfyz.rudad.joker.card
Methods in cz.matfyz.rudad.joker.card that return CardModifier and TypeMethodDescriptionstatic CardCard.getInstance(int cardId) Returns a Card instance based on the provided card ID.static CardCard.getInstance(Rank rank, Suit suit) Returns a Card instance based on the provided rank and suit.static CardCard.getInstance(String cardAlias) Returns a Card instance based on the provided card alias. -
Uses of Card in cz.matfyz.rudad.joker.evaluator
Methods in cz.matfyz.rudad.joker.evaluator with parameters of type CardModifier and TypeMethodDescriptionstatic shortEvaluates the strength of a poker hand with 7 cards given as individual Card objects.Method parameters in cz.matfyz.rudad.joker.evaluator with type arguments of type CardModifier and TypeMethodDescriptionstatic shortEvaluator.evaluate7Cards(List<Card> hand) Evaluates the strength of a poker hand with 7 cards given as a list of Card objects.