/dicepoker

Accepts one mandatory field: amount

You and the dealer roll five 6-sided dice, they are marked to represent poker hands. Whoever has the higher hand (dealer or player (you)) wins.

The potential hands you can roll will be in order from the lowest, the last on the list, and the top one to the best.

Five of a Kind: All five dice must be the same number. Example: 6,6,6,6,6

Four of a Kind: All four dice must be the same number. Example: 2,2,2,2

Full House: Three of the dice must be the same number, as well as the other two remaining dice being a different number but the same to each other. Example: 5,5,5, 2,2

Three of a Kind: Three of the dice must be the same number. Example: 4,4,4,

Two Pairs: Two sets of different matching dice numbers. Example: 5,5, 3,3

One pair: One set of numbers matching. Example: 2,2

High Card: If you have 0 matching numbers, the highest card wins, so if the player's highest card is 3 and the dealer card is 6, the dealer would win.

A Five of a Kind, containing all 5's is better than a Five of a Kind containing all 2's as the total sum of all the cards is higher. This is for every game.

Last updated