Poker is a card game in which individuals compete for an amount of money or chips contributed by all players (the pot). Players place chips into the pot when they call a bet, raise it, or fold. The winner of a hand collects all the chips in the pot. The rules of poker vary, but the game generally involves betting and raising based on the cards in one’s hand and on the player’s prediction of what their opponents may be holding. In addition, bluffing is often used to manipulate other players’ decisions.

The game can be played with any number of people, but the ideal number is six or seven players. A game starts with each player placing an ante into the pot. Then two cards are dealt face-down to each player. These hidden cards are called a player’s hole or pocket cards. The first round of betting begins, and each player may check (check the action), raise, or fold.

When a player checks or raises, they put the same number of chips into the pot as the original bet. In a fixed-limit game, the amount that a player can raise in any betting interval is limited to the number of chips that would require him or her to call the previous bet, plus an additional amount specified by the game rules (usually twice as much after the draw as before it). In pot limit games, a raise is usually limited to the total of the chips already in the pot when the raise is made.

If a player has a strong poker hand, they can raise the bet to encourage other players to call it, or they can bluff by making weak bets to make their opponents call them. The higher a player’s poker hand, the more money they can win from their bets and the pot.

A poker hand must consist of at least five cards to be considered a winning hand. The rank of standard poker hands is determined by their odds (probability), and ties are broken by the highest unmatched cards or secondary pairs (in a full house, for example, or threes of a kind).

Once all the betting rounds have completed, the remaining players reveal their cards in a showdown. The player with the best poker hand wins the pot. If more than one player remains, they may agree to split the pot if there is no clear winner. They may also choose to play a separate pot, in which case the player with the highest poker hand wins all of the money in that pot. In some cases, all players remain in the pot until they all decide to fold.