Poker is a card game in which players bet into a pot. The highest hand wins. If there are ties, the highest unmatched card breaks them.

A standard poker pack contains 52 cards. These cards are ranked from Ace to ten. Some games use wild cards, which can take any suit.

In all poker types, at least one round of betting is required. This round is called the ante. An ante is a small bet which is usually $1 or $5.

All other players can choose to fold, which means they do not contribute to the pot. They may also bet into the pot, which is known as a forced bet.

When everyone has been dealt their cards, a third round of betting takes place. After that, the dealer shuffles the cards. Depending on the game, cards are dealt face up or face down.

When the dealer shuffles, a player can check or raise. Players can use up to three cards from their hand.

After the fourth betting interval, the hole cards are shown. Players can then discard up to three cards and see their hands.

Another round of betting occurs after the cards are discarded. Betting occurs until everyone folds. The final betting round takes place, at which point the winner of the pot is determined.

Typical poker tournaments have a fixed buy-in. Alternatively, a player can opt to participate in an all-in poker game. However, all-in players cannot win in the side pot until they are in a showdown.