Safe Haskell | None |
---|---|
Language | Haskell2010 |
... Module : Poker.Holdem Description : Texas Hold'em module Copyright : (c) Ghais Issa 2021
A variant of poker where two cards, known as hole cards, are dealt face down to each player, and then five community cards are dealt face up in three stages. The stages consist of a series of three cards ("the flop"), later an additional single card ("the turn" or "fourth street"), and a final card ("the river" or "fifth street"). Each player seeks the best five card poker hand from any combination of the seven cards; the five community cards and their two hole cards. ...
Documentation
Player's 2 cards.
First three community cards
Fourth community card.
Fifth and last community card.
All community cards.
A 7-card hand is made from a hole and community cards.
randomHand :: RVar Hand Source #
A random hand