Poker is a game of skill and chance played with a deck of cards. There are a few variations of the game, but the general rules are the same. The object of the game is to make the best five-card hand possible.

A standard poker deck contains 52 cards. Players can be dealt extra cards if they are required. The game can be played with two or more players, but ideally, it is played with six to eight people.

The dealer cuts and deals the cards. Players then choose to replace the cards they were dealt with. This process occurs in three rounds. Each round is interrupted by a betting interval.

During each betting interval, the player with the highest-ranking combination makes a bet. If no one calls the bet, the pot is won by the highest-ranking poker hand. Depending on the variant of the game, the pot may be split between the highest and lowest hands.

In most variants, the highest-ranking hand wins. However, the hand’s rank is determined by the odds. Some games do not consider flushes or straights, and may split the pot between the highest and lowest hands.

Ties between identical hands are broken by the highest card of the ties. For example, if a pair of kings and a pair of jacks tie, the jack is the higher ranking card.

Another way to break a tie is with the highest card outside a pair. For example, if a pair aces and a pair of kings tie, the king breaks the tie.