general-games-1.0.3: Library supporting simulation of a number of games

Copyright(c) 2017 Christopher A. Gorski
LicenseMIT
MaintainerChristopher A. Gorski <cgorski@cgorski.org>
Safe HaskellSafe
LanguageHaskell2010

Game.Implement.Card.Standard.Poker

Description

The Game.Implement.Card.Standard.Poker module defines data types and type class instances for ordered operations on PlayingCard cards.

Synopsis

Documentation

data Order Source #

Order defines an order to use when sorting a card. AceHighRankOrder sorts under the assumption that an Ace is a high card, and AceLowRankOrder under the assumption that an Ace is a low card. SuitOrder sorts cards by suit, irrespective of their rank.

data ValueType Source #

ValueType indicates the type Int value to be assigned to a card when the card is evaluated by game value.