CLI Poker Game
A simple CLI poker game
mix test
- to run the tests
mix excript.build
- to compile
./poker
- runs the application
Example run
./poker
Black: 2H 3C 4H 5D TC
White: 2H 3C 4H 5D TC
tie
Black: 2H 3C 4H 5D TC
White: 2H 3C 4H 5D KC
White is winner - highcard: K
Black: 2H 3C 4H KD KC
White: 2H 3C 4H KD KC
tie
Black: 2H 3C 4H KD KC
White: 2H 3C 5H KD KC
White is winner - pair: 5
Black: 1H 3C 5H KD KC
White: 2H 3C 5H KD KC
Invalid input from Black