This application can determine the rank of given poker via the command line.
There are rules to follow for when using this application, for example:
- The number ten is entered as T
- The Wild cards such Joker, King, Queen and Ace are enter as J, K, Q and A respectively.
- All entries must be capitalized, for example: jC will be regarded as incorrect input and an error will show.
- Always start with the card number then the suit of the card, for example: 'AS' will be Ace of Spades
Please use a virtual environment to run the project. It uses just built-in functions on python3.9, no extra requirements needed
To add virtual environment, run the following command:
python3 -m venv venv
To turn on virtual environment, please run:
source venv/bin/activate
To run the application:
python3 check_poker_hand.py
To run the tests
python3 tests.py
``