probability for full house and other combinations in bet on poker game

53 Views Asked by At

We are trying to calculate probabilities(and odds) for "bet on poker" game on which we are working now. To calculate probabilities and odds for each hand we used https://github.com/cookpete/poker-odds library. Now, having probabilities of "Royal Flush,Straight Flush, Four of a kind, Full house, Flush, Straight, Three of kind, Two pairs, One pair, High card" for each hand we are trying to calculate the same probabilities for entire table (for example we need probability that the winning combination of the table will be Royal flush) in this image we have probabilities of each hand but not for entire table