Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 822 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 822 Bytes

poker-hand-evaluator

Program that evaluates the ranking of multiple poker hands based on community cards.
This program prompts the user for the number of players, each player's hole cards, and the community cards before outputting what type of hand each player has!

How It's Made:

Tech Used: C++, Makefiles

This program evaluates the strength of the hands primarily through combinatorics. It creates every possible combination of 5 card hand based on the inputs given before finding the best one and saving it.
It even incorporates tie breakers through the use of an array that stores kickers.

Dependencies

gcc version 6.3.0

How to Run:

Step 1: Download a C ++ compiler such as MinGW Step 2: Run the following commands from the makefile:

make
make run

Step 3: Use the program!