general-games-0.3.0: Library supporting simulation of a number of games
Game.Implement.Card.Standard.Poker
data Order Source #
Constructors
Instances
Methods
(==) :: Order -> Order -> Bool #
(/=) :: Order -> Order -> Bool #
highestCardBy :: Order -> [PlayingCard] -> PlayingCard Source #
lowestCardBy :: Order -> [PlayingCard] -> PlayingCard Source #
compareCardBy :: Order -> PlayingCard -> PlayingCard -> Ordering Source #
sortCardsBy :: Order -> [PlayingCard] -> [PlayingCard] Source #
toOrderedValue :: Order -> ValueType -> PlayingCard -> Int Source #
data ValueType Source #