Video Poker Video Poker Articles Online Casinos Online Gambling Strategy Guides Tools Video Poker Strategies

Five Aces Poker (Jacks or Better)

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

Five Aces Poker is a set of games which have a fifth Ace inserted into the deck, marked with a Star as the suit. I refer to this card as the Ace of Stars in the strategy guides. While this version of the game is called Jacks or Better, it is actually based on Bonus Poker. The paytable also includes a hand for Five Aces which pays 6,000 coins when betting five coins.

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
Five Aces
Royal Flush
Straight Flush
Four Aces
Four 2,3,4
Four 5-K
Full House
Flush
Straight
Three of a Kind
Two Pair
Jacks or Better

Deck Simplification


An "E" in the suit pattern denotes the fifth Ace with the Star suit.

Unique Rank Patterns


Core Hand Type Formula Result
Five of a Kind Combin(1, 1) 1
Four of a Kind Combin(13, 1) * Combin(12, 1) 156
Full House Combin(13, 1) * Combin(12, 1) 156
Three of a Kind Combin(13, 1) * Combin(12, 2) 858
Two Pair Combin(13, 2) * Combin(11, 1) 858
One Pair Combin(13, 1) * Combin(12, 3) 2,860
No Pair Combin(13, 5) 1,287

Unique Suit Patterns - No Aces


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 Ace


Four of a Kind Three of a Kind Two Pair One Pair No Pair
Pattern Count Pattern Count Pattern Count Pattern Count Pattern Count
ABCDA 4 ABCAA 12 ABABA 12 ABAAA 12 AAAAA 4
ABCDE 1 ABCAB 24 ABABC 12 ABAAB 12 AAAAB 12
ABCAD 12 ABABE 6 ABAAC 24 AAABA 12
ABCDA 12 ABACA 24 ABABA 12 AAABB 12
ABCEA 12 ABACB 24 ABABB 12 AAABC 24
ABCDD 4 ABACC 24 ABABC 24 AABAA 12
ABCDE 4 ABACD 24 ABACA 24 AABAB 12
ABACE 24 ABACB 24 AABAC 24
ABCDA 12 ABACC 24 AABBA 12
ABCDC 12 ABACD 24 AABBB 12
ABCDE 6 ABCAA 24 AABBC 24
ABEAA 12 AABCA 24
ABCAB 24 AABCB 24
ABEAB 12 AABCC 24
ABCAC 24 AABCD 24
ABCAD 24 ABAAA 12
ABEAD 24 ABAAB 12
ABCCA 24 ABAAC 24
ABCCC 12 ABABA 12
ABCCD 12 ABABB 12
ABCDA 24 ABABC 24
ABEDA 24 ABACA 24
ABCDC 12 ABACB 24
ABCDD 12 ABACC 24
ABEDD 12 ABACD 24
ABCDE 12 ABBAA 12
ABBAB 12
ABBAC 24
ABBBA 12
ABBBB 12
EBBBB 4
ABBBC 24
EBBBC 12
ABBCA 24
ABBCB 24
EBBCB 12
ABBCC 24
EBBCC 12
ABBCD 24
EBBCD 24
ABCAA 24
ABCAB 24
ABCAC 24
ABCAD 24
ABCBA 24
ABCBB 24
EBCBB 12
ABCBC 24
EBCBC 12
ABCBD 24
EBCBD 24
ABCCA 24
ABCCB 24
EBCCB 12
ABCCC 24
EBCCC 12
ABCCD 24
EBCCD 24
ABCDA 24
ABCDB 24
EBCDB 24
ABCDC 24
EBCDC 24
ABCDD 24
EBCDD 24
ABCDE 24

Unique Suit Patterns - Two Aces


Full House Two Pair One Pair
Pattern Count Pattern Count Pattern Count
ABCAB 12 ABABA 12 ABAAA 12
ABCAD 12 ABABC 12 AEAAA 4
ABCAE 12 ABACA 24 ABAAB 12
ABCDE 4 AEACA 12 ABAAC 24
ABACB 24 AEAAC 12
ABACC 24 ABABA 12
AEACC 12 ABABB 12
ABACD 24 ABABC 24
AEACD 24 ABACA 24
ABCDA 12 AEACA 12
AECDA 12 ABACB 24
ABCDC 12 ABACC 24
AECDC 24 AEACC 12
AEBCD 12 ABACD 24
AEACD 24
ABCAA 24
AECAA 12
ABCAB 24
ABCAC 24
AECAC 12
ABCAD 24
AECAD 24
ABCCA 24
AECCA 12
ABCCC 12
AECCC 12
ABCCD 12
AECCD 24
ABCDA 24
AECDA 24
ABCDC 12
AECDC 24
ABCDD 12
AECDD 24
AEBCD 24

Unique Suit Patterns - Three Aces


Full House Three of a Kind
Pattern Count Pattern Count
ABCAB 12 ABCAA 12
ABEAB 6 ABEAA 12
ABCAD 12 ABCAB 24
ABEAD 24 ABEAB 12
ABECD 6 ABCAD 12
ABEAD 24
ABCDA 12
ABEDA 24
ABCDD 4
ABEDD 12
ABECD 12

Unique Suit Patterns - Four Aces


Four of a Kind
Pattern Count
ABCDA 16
ABCED 4

Unique Suit Patterns - Five Aces


Five of a Kind
Pattern Count
ABCDE 1

Total Unique Patterns


Ace(s)Core Hand Type Rank Patterns Suit Patterns Total
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
One Four of a Kind 12 2 24
Three of a Kind 132 7 924
Two Pair 66 11 726
One Pair 660 26 17,160
No Pair 495 66 32,670
Two Full House 12 4 48
Two Pair 132 14 1,848
One Pair 220 35 7,700
Three Full House 12 5 60
Three of a Kind 66 11 726
Four Four of a Kind 12 2 24
Five Five of a Kind 1 1 1
Total 150,879
Reduction in processing time 94.7423%

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 =

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

    if (R1 > R2) { R1 ^= R2; R2 ^= R1; R1 ^= R2; }
    if (R1 > R3) { R1 ^= R3; R3 ^= R1; R1 ^= R3; }
    if (R1 > R4) { R1 ^= R4; R4 ^= R1; R1 ^= R4; }
    if (R1 > R5) { R1 ^= R5; R5 ^= R1; R1 ^= R5; }
    if (R2 > R3) { R2 ^= R3; R3 ^= R2; R2 ^= R3; }
    if (R2 > R4) { R2 ^= R4; R4 ^= R2; R2 ^= R4; }
    if (R2 > R5) { R2 ^= R5; R5 ^= R2; R2 ^= R5; }
    if (R3 > R4) { R3 ^= R4; R4 ^= R3; R3 ^= R4; }
    if (R3 > R5) { R3 ^= R5; R5 ^= R3; R3 ^= R5; }
    if (R4 > R5) { R4 ^= R5; R5 ^= R4; R4 ^= R5; }

    if (Flush)
    {

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

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

        else
        {
            Hand = 5;           // Flush
        }
    }

    else
    {
        if (R1 == 12)
        {
            Hand = 12;          // Five Aces
        }

        else if ((R2 == R3) && (R3 == R4) && ((R1 == R2) || (R4 == R5)))
        {
            if (R3 == 12)
            {
                Hand = 9;       // Four Aces
            }
            else if (R3 <= 2)
            {
                Hand = 8;       // Four 2,3,4
            }
            else
            {
                Hand = 7;       // Four 5-K
            }
        }

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

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

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

        else if (((R1 == R2) && (R3 == R4)) || 
                 ((R1 == R2) && (R4 == R5)) || 
                 ((R2 == R3) && (R4 == R5)))
        {
            Hand = 2;           // Two Pair
        }
        else if (((R1 == R2) && (R1 >= 9)) || 
                 ((R2 == R3) && (R2 >= 9)) || 
                 ((R3 == R4) && (R3 >= 9)) || 
                 ((R4 == R5) && (R4 >= 9)))
        {
            Hand = 1;           // Jacks or Better
        }
    }

    return Hand;
}


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

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

Free Video Poker | Mac Video Poker | Video Poker | Legal Notices | Websites | Contact