poker-base
provides datatypes and supporting infrastructure to handle poker computation. Once developed, the package intends to be industry-ready and provide capabilities that support poker websites, simulation, research and poker trainers and assistants.
Pull requests or suggestions (preferably created in an issue), are not just encouraged but highly requested! We are quick to respond to any help you might need :)
-- >>> import Poker
-- >>> Just h = mkHole (Card Ace Club) (Card Two Diamond)
-- >>> holeToShortTxt h
-- "Ac2d"
To become Haskell's core de facto library for poker applications. We are working on this library so that your poker work can use poker-base
, and its children packages, seamlessly.
Some principles that this library aims to uphold:
poker-base
's API usable for the intermediate Haskeller.poker-base
.newtype
and PatternSynonyms
which we use to hide implementation details.poker-base
poker-game
: a library for the rules of no-limit poker (not just holdem)poker-histories
: a library for parsing poker site hand histories. Currently supports PokerStars and Bovada.poker-ai
: an experimental platform for researching poker strategy and intelligence.See Contributing.md for guidelines.
See Resources.md for help regarding the rules of poker and resources for implementing poker applications.