Skip to content

carturoch/ex_poker_eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExPokerEval

Elixir implementation of a poker's hand evaluator.

Usage

ExPokerEval.get_highest(
  black: ~w(2H 3D 5S 9C KD),
  white: ~w(2C 3H 4S 8C AH)
)

# Output: {:white, :high_card, "Ace"}

ExPokerEval.get_highest(
  black: ~w(2H 3D 5S 9C KD),
  white: ~w(2D 3H 5C 9S KH)
)

# Output: {:tie}

Supports ♥♠♦♣ for suits

About

Elixir implementation of a poker's hand evaluator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages