A casino is an establishment that offers a variety of card and gambling games. Some casinos also offer live entertainment and dining services. Most casinos are licensed and regulated by state or local governments. Some are owned by private corporations, while others are owned and operated by tribes.

Gambling in all its forms has been a part of human culture for millennia. The earliest evidence of dice games dates to 2300 BC in China, followed by poker and the game of blackjack in the 1400s. Today, casinos are mesmerizing, dazzling venues with flashing lights, exotic locations and luxury accommodations. But beneath the varnish of free cocktails and slick marketing, they are mathematically engineered to slowly bleed patrons of their cash.

The basic economic principle is that every casino game has a house advantage, measured as a percentage over the time spent playing. This advantage can be minimized by understanding game theory and familiarizing oneself with betting strategies, such as the Martingale system or D’Alembert.

Table games are common in casinos, where dealers or croupiers facilitate the play. Roulette, blackjack and craps are popular, but many casinos also offer poker and other games that combine skill with chance, often with a fee (known as the rake) taken by the casino to cover overhead costs.

Casinos feature a wide range of high-quality entertainment, from concerts and performances by top musical artists to comedy shows by famous comedians. Loyalty or rewards programs offer additional perks, such as free meals or merchandise.