A bug is a joker with restricted wild-card powers, commonly usable as an ace or to complete a straight or flush.

Visual explainer
A restricted joker can complete a specific pattern
Common bug rule: acts as an ace, or completes a straight or flush.
Ace role
Straight completion
Flush completion
One joker fills one card position. It does not mean every rank substitution is permitted or that the same card can be used twice in a split hand.
Illustrative five-card evaluation. Check the named game’s exact joker and hand-setting rules. Related: Joker · Wild Card.
A limited wild card
In card-game terminology, a bug is a joker whose powers are restricted. A common rule allows it to act as an ace or to complete a straight, flush or straight flush. That is different from a fully wild joker, which may substitute more broadly according to the game. The word does not refer to a software fault in this context. Before evaluating a hand, identify the exact game and its joker rule. A player who assumes that every joker can represent any rank may overvalue a pair, three of a kind or a full house and set the hand incorrectly.
How the ace role works
Consider a five-card holding containing a joker, an ace, a king, a nine and a four, with no qualifying straight or flush available. Under the common bug rule, the joker acts as an ace, producing a pair of aces. It cannot simply become another king because that would be convenient. Now replace the ace with a queen: the joker still supplies an ace, but it does not create a pair of kings. These examples illustrate the restricted substitution rule rather than a recommendation about how to arrange a particular casino hand. Other cards and the game’s required hand structure still matter.
Completing a straight or flush
A joker alongside five, six, seven and eight can complete a five-card straight by taking a suitable missing rank. Four spades plus the joker can form a flush when the rules permit that substitution. A straight flush requires the rank sequence and suit conditions together; the mere presence of four suited cards does not make every arrangement a straight flush. Evaluate the completed hand under the actual ranking rules, including how the substituted card is treated. Do not add an imaginary sixth card or count the joker twice within one five-card hand. It fills one card position in that hand.
The Pai Gow Poker connection
Casino Pai Gow Poker commonly uses a 53-card deck: the ordinary 52 cards plus one joker. Players arrange seven cards into a five-card hand and a two-card hand. Pennsylvania’s published rules illustrate the restricted joker treatment, allowing the joker as an ace or to complete specified five-card combinations. In a two-card hand, there is no five-card straight or flush to complete, so the ace role becomes particularly relevant. The joker cannot simultaneously belong to both arranged hands. House-way procedures, ranking details and any variant rules should be checked separately; knowing the meaning of bug is only one part of understanding the game.
Why fully wild is different
Imagine a joker with three kings and a low unrelated card. A fully wild rule might allow the joker to create four kings. Under the usual bug rule, it cannot become a king simply to improve that set. It instead acts as an ace unless an allowed straight or flush use applies. Conversely, four natural aces plus a joker can receive special five-aces treatment in games that explicitly recognise that hand. Never carry a hand ranking from one variant into another without checking the rules. A video poker game with wild deuces, a joker game and Pai Gow Poker can use different substitution systems.
Reading the rules accurately
Look for the number of jokers, the permitted substitutions and the hand-ranking table. If an electronic game highlights a completed combination, compare that display with the written rule rather than assuming the animation explains every exception. In a live game, ask the dealer to clarify the joker’s role before making a decision that depends on it. The useful question is specific: can this joker represent a non-ace to form this particular hand? Keeping the proposed combination explicit avoids confusion with fully wild games. The bug changes which hands are possible; it does not remove the house advantage or guarantee that a strong-looking hand will win.
Related glossary terms
Sources and further reading
- Synonym:
- Joker