PokerHands
Read requirements for details about the kata. A Ruby version can be found here.
Dev Environment
- Erlang/OTP 19.0.2
- Elixir 1.3.2
Usage
Start the iex console:
iex -S mix
Use PokerHands.vs
to compare two hands:
PokerHands.vs("2H 3D 5S 9C KD", "2C 3H 4S 8C KH")
#=> "Left wins!"
Notes
Data validation is intentionally left out.
License
Licensed under MIT.