# probability Pai Gow Poker with specific house rules

Bütçe $250-750 USD

Hello Free Lancers

I am looking for somebody who can help me out with the probability calculations of a card game.

I think the best way to do it is by writing a program in C and let in run for a long enough period until the outcome stabelizes.

I will describe the project details now:

if you are familiar with the Pai Gow Poker game it will be very easy for you to understand

the game is played with 53 cards, the 52 playing cards and one joker.

from the 53 cards we draw 7 cards (each hand holds 7 cards)

the 7 cards are split in one hand of 2 cards and one hand of 5 cards by the player. Each of these hands are given a value following the normal poker qualification rules.

the highest possible outcome would (A,K,Q,J,10 ; A,A)

i want to know the probability of getting such a hand, wich in this case is easy as total possible combinationas out of 53 cards are about 157,000,000 and of this total amount 12 will be a combination igual to the one above so the probability of this combination would be 12/157,000,000.

An important rules that you need to know is that the 2 cards hand can not be higher in value than the 5 cards hand. This is the main rules of how the cards are arranged but their are some extra rules for combinations where you have differente possible outcomes like if you have the following cards:

J,J,J,K,K,3,6 this can be j,j,j,k,k + 3,6 but to make chance of winning better the rule will indicate that it should be j,j,j,3,6 + k,k. For people who are interrested i have the exact and complete rules available

Also important is that there are certain rules for the joker card, the joker card can be used to complete a flush or a straight but not to complete other combinations, The joker can also only for a pair with a face card (J;Q;K) if not the joker will be considered as an ace.

Now you know the basics of the game.

what i actualy want to know now is that if i am a dealer and i draw 7 card and I play against one player what will be my income if I follow the following rules:

- if the player wins both hands (5 and 2 cards) and i don't have queen high pai gow hand i pay him even money wich is each to a result of -1 for me

(a queen high pai gow hand is a card combination with the highest card in the 5 cards hand being a queen and no other kind of poker combination present in either the 2 or 5 cards hand

- if the player wins both hands but i have a queen high pai gow hand it is a push wich is a result igual to 0 for me

- if the player wins the 5 cards hand an i win the two cards hand it is a "push" wich is igual to a result of 0 for me

- if the player wins the 2 card hand and i win the 5 cards hand it a is a "push" to.

- if i win both hands if will take the bet so this is a result igual to +1 for me.

IMPORTANT IF THE PLAYER HAS A HAND IGUAL TO MINE EITHER IN THE 5 OR IN THE 2 CARDS HAND HE IS CONSIDERED TO LOSE THE HAND.

I realy hope somebody can help me out with this project soon !

if you are interreseted in doing this project please contact me for more information!

hope to hear from you soon

thanks

Jasper Verhenneman

## 4 freelancers are bidding on average $313 for this job

Hello -- I have written extensive game analysis software. Please see your inbox for more details.