Poker Hand Evaluator
This project was awarded to pbq for $70 USD.Get free quotes for a project like this
Project Budget$30-$250 USD
I need a function that evaluate a hand poker. The deck contains all 54 cards including the two jokers (red & black).
The function have the input parameter a list with 5 cards.
A card object is like:
id -> id of the deck array (0..53)
suit -> 0..3 (hearts, diamonds, clubs, spades)
number -> 0 = joker, 1=ace, 2=deuce ... 11=Jack, 12=queen, 13=king
The poker evaluator function must evaluate the hand and return what type of hand is:
- 5 OF A KIND
- ROYAL FLUSH
- STRAIGHT FLUSH
- 4 OF A KIND
- FULL HOUSE
- 3 OF A KIND
- TWO PAIRS
and mark the selected cards.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online