Skip to content

febilva/poker_hands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PokerPlay

How To run

#get the dependencies
mix deps.get

#for test
mix test

#run the app
iex -S mix

how to play

iex(4)> left_hand = "Black: 2H 2D 5S 5C KD"
"Black: 2H 2D 5S 5C KD"

iex(5)> right_hand = "White: 2D 5H 6S 7D 2C"
"White: 2D 5H 6S 7D 2C"

iex(6)> PokerPlay.best_hand(left_hand,right_hand)
"Black wins - two pairs"


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages