Skip to content

rlitoncs/Python-Poker-Hand-Evaluator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Python Poker Hand Evaluator

This simple program evaluates a given poker hand and returns the designated ranking.

The rankings that are currently evaluated are:

1. Four Of A Kind 
2. Three Of A Kind
3. Full House
4. Flush
5. High Card

Input

The program accepts a string of characters where every 2 characters represent the value and rank of the card.

For Example:

hand = '2h4d2d4s4c' 

The '2h' would represent Two of hearts.

How to Run:

 1. Download the file from the repository.
 2. Input the given poker hand into the program as mentioned above.
 3. Compile Poker Hand Evaluator.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages