Skip to content

Open face chinese poker calculation and parsing library written in Haskell

Notifications You must be signed in to change notification settings

uor16x/ofc-calc-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofc-calc-haskell

Small playground for Haskell. Fourth implementation of open-face chinese poker.

Documentation is here.

  • Parse suit
  • Parse value (rank of the card)
  • Compare cards
  • Parse combination
  • Compare combinations
  • Output as JSON
  • Calculate user points
  • Compare user points
  • Is player scooped
  • Is next hand fantasy
  • Allow empty input as scoop
  • Documentation
  • Comments