Skip to content

Elixir library that determines the winning hand in a game of poker

Notifications You must be signed in to change notification settings

saifelokour/poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poker

Elixir library that determines the winning hand in a game of poker

Installation

If available in Hex, the package can be installed by adding poker to your list of dependencies in mix.exs:

def deps do
  [
    {:poker, "~> 0.1.0"}
  ]
end

Example

iex> Poker.play(black: "2H 3D 5S 9C KD", white: "2C 3H 4S 8C AH")
    "white wins - high card: Ace"

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/poker.

About

Elixir library that determines the winning hand in a game of poker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages