Video Poker Video Poker Articles Online Casinos Online Gambling Video Poker Games Tools Video Poker Strategies

Deuces and Joker

Game Info Paytable Options Hand Analyzer Paytable Analyzer Simulator Strategy Guide Training Programming

Deuces and Joker combines the best of Deuces Wild and Joker Poker. The starting hand is Three of a Kind as it is in regular Deuces Wild, and a few hands have reduced payouts but the game has two jackpots: a Royal Flush, usually paying the typical 4,000 coins; and Four Deuces with the Joker, which normally pays 10,000 coins on a maximum bet. Deuces and Joker is my favorite video poker game.

Play Deuces and Joker for free

Click here for help Opens in a new window

Currency Options


Currency: Coin Size: Coins per Hand:

Taxes & Tips


  Threshold   Withholding Rate
  Threshold   Withholding Rate
  Threshold   Withholding Rate
  Threshold   Amount
  Threshold   Rate

Click here for help Opens in a new window

Number of hands to simulate:  

Click here for help Opens in a new window



Don't forget that you can type in your own paytable below.

Hand Coins Paid
Four Deuces with Joker
Natural Royal Flush
Four Deuces
Wild Royal Flush
Five of a Kind
Straight Flush
Four of a Kind
Full House
Flush
Straight
Three of a Kind

Deck Simplification


A "W" in the suit pattern denotes a deuce and an "X" denotes the Joker.

Unique Rank Patterns - No Deuces, No Joker


Core Hand Type Formula Result
Four of a Kind Combin(12, 1) * Combin(11, 1) 132
Full House Combin(12, 1) * Combin(11, 1) 132
Three of a Kind Combin(12, 1) * Combin(11, 2) 660
Two Pair Combin(12, 2) * Combin(10, 1) 660
One Pair Combin(12, 1) * Combin(11, 3) 1,980
No Pair Combin(12, 5) 792

Unique Rank Patterns - One Deuce, No Joker


Core Hand Type Formula Result
Four of a Kind Combin(12, 1) 12
Three of a Kind Combin(12, 1) * Combin(11, 1) 132
Two Pair Combin(12, 2) 66
One Pair Combin(12, 1) * Combin(11, 2) 660
No Pair Combin(12, 4) 495

Unique Rank Patterns - Two Deuces, No Joker


Core Hand Type Formula Result
Full House Combin(12, 1) 12
Two Pair Combin(12, 1) * Combin(11, 1) 132
One Pair Combin(12, 3) 220

Unique Rank Patterns - Three Deuces, No Joker


Core Hand Type Formula Result
Full House Combin(12, 1) 12
Three of a Kind Combin(12, 2) 66

Unique Rank Patterns - Four Deuces, No Joker


Core Hand Type Formula Result
Four of a Kind Combin(12, 1) 12

Unique Rank Patterns - No Deuces, With Joker


Core Hand Type Formula Result
Four of a Kind Combin(12, 1) 12
Three of a Kind Combin(12, 1) * Combin(11, 1) 132
Two Pair Combin(12, 2) 66
One Pair Combin(12, 1) * Combin(11, 2) 660
No Pair Combin(12, 4) 495

Unique Rank Patterns - One Deuce, With Joker


Core Hand Type Formula Result
Three of a Kind Combin(12, 1) 12
One Pair Combin(12, 1) * Combin(11, 1) 132
No Pair Combin(12, 3) 220

Unique Rank Patterns - Two Deuces, With Joker


Core Hand Type Formula Result
Two Pair Combin(12, 1) 12
One Pair Combin(12, 2) 66

Unique Rank Patterns - Three Deuces, With Joker


Core Hand Type Formula Result
Three of a Kind Combin(12, 1) 12

Unique Rank Patterns - Four Deuces, With Joker


Core Hand Type Formula Result
Four of a Kind Combin(1, 1) 1

Unique Suit Patterns - No Deuces, No Joker


Four of a Kind Full House Three of a Kind Two Pair One Pair No Pair
Pattern Count Pattern Count Pattern Count Pattern Count Pattern Count Pattern Count
ABCDA 4 ABCAB 12 ABCAA 12 ABABA 12 ABAAA 12 AAAAA 4
ABCAD 12 ABCAB 24 ABABC 12 ABAAB 12 AAAAB 12
ABCAD 12 ABACA 24 ABAAC 24 AAABA 12
ABCDA 12 ABACB 24 ABABA 12 AAABB 12
ABCDD 4 ABACC 24 ABABB 12 AAABC 24
ABACD 24 ABABC 24 AABAA 12
ABCDA 12 ABACA 24 AABAB 12
ABCDC 12 ABACB 24 AABAC 24
ABACC 24 AABBA 12
ABACD 24 AABBB 12
ABCAA 24 AABBC 24
ABCAB 24 AABCA 24
ABCAC 24 AABCB 24
ABCAD 24 AABCC 24
ABCCA 24 AABCD 24
ABCCC 12 ABAAA 12
ABCCD 12 ABAAB 12
ABCDA 24 ABAAC 24
ABCDC 12 ABABA 12
ABCDD 12 ABABB 12
ABABC 24
ABACA 24
ABACB 24
ABACC 24
ABACD 24
ABBAA 12
ABBAB 12
ABBAC 24
ABBBA 12
ABBBB 12
ABBBC 24
ABBCA 24
ABBCB 24
ABBCC 24
ABBCD 24
ABCAA 24
ABCAB 24
ABCAC 24
ABCAD 24
ABCBA 24
ABCBB 24
ABCBC 24
ABCBD 24
ABCCA 24
ABCCB 24
ABCCC 24
ABCCD 24
ABCDA 24
ABCDB 24
ABCDC 24
ABCDD 24

Unique Suit Patterns - One Deuce, No Joker


Four of a Kind Three of a Kind Two Pair One Pair No Pair
Pattern Count Pattern Count Pattern Count Pattern Count Pattern Count
ABCDW 4 ABCAW 48 ABABW 24 ABAAW 48 AAAAW 16
ABCDW 16 ABACW 96 ABABW 48 AAABW 48
ABCDW 24 ABACW 96 AABAW 48
ABCAW 96 AABBW 48
ABCCW 48 AABCW 96
ABCDW 48 ABAAW 48
ABABW 48
ABACW 96
ABBAW 48
ABBBW 48
ABBCW 96
ABCAW 96
ABCBW 96
ABCCW 96
ABCDW 96

Unique Suit Patterns - Two Deuces, No Joker


Full House Two Pair One Pair
Pattern Count Pattern Count Pattern Count
ABCWW 24 WWABA 72 WWAAA 24
WWABC 72 WWAAB 72
WWABA 72
WWABB 72
WWABC 144

Unique Suit Patterns - Three Deuces, No Joker


Full House Three of a Kind
Pattern Count Pattern Count
WWWAB 24 WWWAA 16
WWWAB 48

Unique Suit Patterns - Four Deuces, No Joker


Four of a Kind
Pattern Count
WWWWA 4

Unique Suit Patterns - No Deuces, With Joker


Four of a Kind Three of a Kind Two Pair One Pair No Pair
Pattern Count Pattern Count Pattern Count Pattern Count Pattern Count
ABCDX 1 ABCAX 12 ABABX 6 ABAAX 12 AAAAX 4
ABCDX 4 ABACX 24 ABABX 12 AAABX 12
ABCDX 6 ABACX 24 AABAX 12
ABCAX 24 AABBX 12
ABCCX 12 AABCX 24
ABCDX 12 ABAAX 12
ABABX 12
ABACX 24
ABBAX 12
ABBBX 12
ABBCX 24
ABCAX 24
ABCBX 24
ABCCX 24
ABCDX 24

Unique Suit Patterns - One Deuce, With Joker


Three of a Kind One Pair No Pair
Pattern Count Pattern Count Pattern Count
ABCWX 16 ABAWX 48 AAAWX 16
ABCWX 48 AABWX 48
ABAWX 48
ABBWX 48
ABCWX 96

Unique Suit Patterns - Two Deuces, With Joker


Two Pair One Pair
Pattern Count Pattern Count
ABWWX 36 WWAAX 24
WWABX 72

Unique Suit Patterns - Three Deuces, With Joker


Three of a Kind
Pattern Count
WWWAX 16

Unique Suit Patterns - Four Deuces, With Joker


Four of a Kind
Pattern Count
WWWWX 1

Total Unique Patterns


Joker Deuces Core Hand Type Rank Patterns Suit Patterns Total
No Four Four of a Kind 12 1 12
Three Full House 12 1 12
Three of a Kind 66 2 132
Two Full House 12 1 12
Two Pair 132 2 264
One Pair 220 5 1,100
One Four of a Kind 12 1 12
Three of a Kind 132 2 264
Two Pair 66 3 198
One Pair 660 6 3,960
No Pair 495 15 7,425
None Four of a Kind 132 1 132
Full House 132 2 264
Three of a Kind 660 5 3,300
Two Pair 660 8 5,280
One Pair 1,980 20 39,600
No Pair 792 51 40,392
Yes Four Four of a Kind 1 1 1
Three Three of a Kind 12 1 12
Two Two Pair 12 1 12
One Pair 66 2 132
One Three of a Kind 12 1 12
One Pair 132 2 264
No Pair 220 5 1,100
None Four of a Kind 12 1 12
Three of a Kind 132 2 264
Two Pair 66 3 198
One Pair 660 6 3,960
No Pair 495 15 7,425
Total 115,751
Reduction in processing time 95.9664%

Hand Scoring Code


int GetHandType(int C1, int C2, int C3, int C4, int C5)
{
    int Hand = 0;

    int R1 = Rank[C1],
        R2 = Rank[C2],
        R3 = Rank[C3],
        R4 = Rank[C4],
        R5 = Rank[C5];

    int S1 = Suit[C1],
        S2 = Suit[C2],
        S3 = Suit[C3],
        S4 = Suit[C4],
        S5 = Suit[C5];

    bool Flush = false;

    if (R1 > R2) { R1 ^= R2; R2 ^= R1; R1 ^= R2; S1 ^= S2; S2 ^= S1; S1 ^= S2; }
    if (R1 > R3) { R1 ^= R3; R3 ^= R1; R1 ^= R3; S1 ^= S3; S3 ^= S1; S1 ^= S3; }
    if (R1 > R4) { R1 ^= R4; R4 ^= R1; R1 ^= R4; S1 ^= S4; S4 ^= S1; S1 ^= S4; }
    if (R1 > R5) { R1 ^= R5; R5 ^= R1; R1 ^= R5; S1 ^= S5; S5 ^= S1; S1 ^= S5; }
    if (R2 > R3) { R2 ^= R3; R3 ^= R2; R2 ^= R3; S2 ^= S3; S3 ^= S2; S2 ^= S3; }
    if (R2 > R4) { R2 ^= R4; R4 ^= R2; R2 ^= R4; S2 ^= S4; S4 ^= S2; S2 ^= S4; }
    if (R2 > R5) { R2 ^= R5; R5 ^= R2; R2 ^= R5; S2 ^= S5; S5 ^= S2; S2 ^= S5; }
    if (R3 > R4) { R3 ^= R4; R4 ^= R3; R3 ^= R4; S3 ^= S4; S4 ^= S3; S3 ^= S4; }
    if (R3 > R5) { R3 ^= R5; R5 ^= R3; R3 ^= R5; S3 ^= S5; S5 ^= S3; S3 ^= S5; }
    if (R4 > R5) { R4 ^= R5; R5 ^= R4; R4 ^= R5; S4 ^= S5; S5 ^= S4; S4 ^= S5; }

    int Deuces = (R1 == 0 ? 1 : 0) +
                 (R2 == 0 ? 1 : 0) +
                 (R3 == 0 ? 1 : 0) +
                 (R4 == 0 ? 1 : 0);

    bool Joker = (R5 == 13);

    if (Joker)
    {
        switch (Deuces)
        {
            case 0:

                Flush = (S1 == S2) &&
                        (S2 == S3) &&
                        (S3 == S4);

                if (Flush)
                {

                    if (R1 >= 8)
                    {
                        Hand = 8;           // Wild Royal Flush
                    }

                    else if (((R4 - R1) <= 4) || ((R4 == 12) && (R3 <= 3)))
                    {
                        Hand = 6;           // Straight Flush
                    }

                    else
                    {
                        Hand = 3;           // Flush
                    }
                }

                else
                {
                    if ((R1 == R2) && (R2 == R3) && (R3 == R4))
                    {
                        Hand = 7;           // Five of a Kind
                    }

                    else if ((R2 == R3) && ((R1 == R2) || (R3 == R4)))
                    {
                        Hand = 5;           // Four of a Kind
                    }

                    else if ((R1 == R2) && (R3 == R4))
                    {
                        Hand = 4;           // Full House
                    }

                    else if ((((R4 - R1) <= 4) || ((R4 == 12) && (R3 <= 3))) &&
                            (R1 != R2) && (R2 != R3) && (R3 != R4))
                    {
                        Hand = 2;           // Straight
                    }

                    else if ((R1 == R2) || (R2 == R3) || (R3 == R4))
                    {
                        Hand = 1;           // Three of a Kind
                    }
                }

                break;

            case 1:

                Flush = (S2 == S3) &&
                        (S3 == S4);

                if (Flush)
                {
                    if (R2 >= 8)
                    {
                        Hand = 8;           // Wild Royal Flush
                    }
                    else if (((R4 - R2) <= 4) || ((R4 == 12) && (R3 <= 3)))
                    {
                        Hand = 6;           // Straight Flush
                    }
                    else
                    {
                        Hand = 3;           // Flush
                    }
                }
                else
                {
                    if((R2 == R3) && (R3 == R4))
                    {
                        Hand = 7;           // Five of a Kind
                    }
                    else if ((R2 == R3) || (R3 == R4))
                    {
                        Hand = 5;           // Four of a Kind
                    }
                    else if ((((R4 - R2) <= 4) || ((R4 == 12) && (R3 <= 3))) && (R2 != R3) && (R3 != R4))
                    {
                        Hand = 2;           // Straight
                    }
                    else
                    {
                        Hand = 1;           // Three of a Kind
                    }
                }

                break;

            case 2:

                Flush = (S3 == S4);

                if (Flush)
                {
                    if (R3 >= 8)
                    {
                        Hand = 8;           // Wild Royal Flush
                    }
                    else if (((R4 - R3) <= 4) || ((R4 == 12) && (R3 <= 3)))
                    {
                        Hand = 6;           // Straight Flush
                    }
                    else
                    {
                        Hand = 5;           // Four of a Kind
                    }
                }
                else
                {
                    if (R3 == R4)
                    {
                        Hand = 7;           // Five of a Kind
                    }
                    else
                    {
                        Hand = 5;           // Four of a Kind
                    }
                }

                break;

            case 3:

                Flush = true;

                if (R4 >= 8)
                {
                    Hand = 8;           // Wild Royal Flush
                }
                else
                {
                    Hand = 7;           // Five of a Kind
                }

                break;

            case 4:

                Flush = true;
                Hand = 11;                  // Four Deuces and a Joker
                break;
        }
    }

    else
    {
        switch (Deuces)
        {
            case 0:

                Flush = (S1 == S2) &&
                        (S2 == S3) &&
                        (S3 == S4) &&
                        (S4 == S5);

                if (Flush)
                {

                    if (R1 == 8)
                    {
                        Hand = 10;          // Royal Flush
                    }

                    else if ((R1 == (R2 - 1)) &&
                 (R2 == (R3 - 1)) &&
                 (R3 == (R4 - 1)) &&
                ((R4 == (R5 - 1)) || ((R1 == 0) && (R5 == 12))))
                    {
                        Hand = 6;           // Straight Flush
                    }

                    else
                    {
                        Hand = 3;           // Flush
                    }
                }

                else
                {
                    if ((R2 == R3) && (R3 == R4) && ((R1 == R2) || (R4 == R5)))
                    {
                        Hand = 5;           // Four of a Kind
                    }

                    else if ((R1 == R2) && (R4 == R5) && ((R2 == R3) || (R3 == R4)))
                    {
                        Hand = 4;           // Full House
                    }

                    else if ((R1 == (R2 - 1)) &&
                 (R2 == (R3 - 1)) &&
                 (R3 == (R4 - 1)) &&
                ((R4 == (R5 - 1)) || ((R1 == 0) && (R5 == 12))))
                    {
                        Hand = 2;           // Straight
                    }

                    else if (((R1 == R2) && (R2 == R3)) ||
                 ((R2 == R3) && (R3 == R4)) ||
                 ((R3 == R4) && (R4 == R5)))
                    {
                        Hand = 1;           // Three of a Kind
                    }
                }

                break;

            case 1:

                Flush = (S2 == S3) &&
                        (S3 == S4) &&
                        (S4 == S5);

                if (Flush)
                {
                    if (R2 >= 8)
                    {
                        Hand = 8;           // Wild Royal Flush
                    }
                    else if (((R5 - R2) <= 4) || ((R5 == 12) && (R4 <= 3)))
                    {
                        Hand = 6;           // Straight Flush
                    }
                    else
                    {
                        Hand = 3;           // Flush
                    }
                }
                else
                {
                    if((R2 == R3) && (R3 == R4) && (R4 == R5))
                    {
                        Hand = 7;           // Five of a Kind
                    }
                    else if ((R3 == R4) && ((R2 == R3) || (R4 == R5)))
                    {
                        Hand = 5;           // Four of a Kind
                    }
                    else if (((R2 == R3) && (R4 == R5)))
                    {
                        Hand = 4;           // Full House
                    }
                    else if ((((R5 - R2) <= 4) || ((R5 == 12) && (R4 <= 3))) &&
                            (R2 != R3) && (R3 != R4) && (R4 != R5))
                    {
                        Hand = 2;           // Straight
                    }
                    else if (((R2 == R3) || (R3 == R4) || (R4 == R5)))
                    {
                        Hand = 1;           // Three of a Kind
                    }
                }

                break;

            case 2:

                Flush = (S3 == S4) &&
                        (S4 == S5);

                if (Flush)
                {
                    if (R3 >= 8)
                    {
                        Hand = 8;           // Wild Royal Flush
                    }
                    else if (((R5 - R3) <= 4) || ((R5 == 12) && (R4 <= 3)))
                    {
                        Hand = 6;           // Straight Flush
                    }
                    else
                    {
                        Hand = 3;           // Flush
                    }
                }
                else
                {
                    if ((R3 == R4) && (R4 == R5))
                    {
                        Hand = 7;           // Five of a Kind
                    }
                    else if ((R3 == R4) || (R4 == R5))
                    {
                        Hand = 5;           // Four of a Kind
                    }
                    else if ((((R5 - R3) <= 4) || ((R5 == 12) && (R4 <= 3))) && (R3 != R4) && (R4 != R5))
                    {
                        Hand = 2;           // Straight
                    }
                    else
                    {
                        Hand = 1;           // Three of a Kind
                    }
                }

                break;

            case 3:

                Flush = (S4 == S5);

                if (Flush)
                {
                    if (R4 >= 8)
                    {
                        Hand = 8;           // Wild Royal Flush
                    }
                    else if (((R5 - R4) <= 4) || ((R5 == 12) && (R4 <= 3)))
                    {
                        Hand = 6;           // Straight Flush
                    }
                    else
                    {
                        Hand = 5;           // Four of a Kind
                    }
                }
                else
                {
                    if (R4 == R5)
                    {
                        Hand = 7;           // Five of a Kind
                    }
                    else
                    {
                        Hand = 5;           // Four of a Kind
                    }
                }

                break;

            case 4:

                Flush = true;
                Hand = 9;                   // Four Deuces
                break;
        }
    }

    return Hand;
}


Processing, please wait... this could take a while.

Copyright © 2007-2012 Video Poker Genius. All rights reserved.

Free Video Poker | Mac Video Poker | Slot Machines | Privacy Policy & Disclaimers | Video Poker Websites | Contact