A casino is a facility where gambling activities such as poker, blackjack, and slot machines take place. These facilities are often found in tourist destinations or near popular hotels. They may also offer entertainment, dining, and shopping options. Casinos promote responsible gambling and provide features such as deposit limits and self-exclusion tools to help people control their gaming habits.

Beneath the flashing lights and free cocktails, casinos rest on a bedrock of mathematics engineered to slowly drain patrons of their cash. For years mathematically inclined people have tried to turn the tables, using their knowledge of probability and game theory to exploit weaknesses in a system that is by its very nature designed to bleed players dry.

But the sunk cost fallacy is alive and well in the casino, where people who work hard for their money and make reasoned financial decisions on a day-to-day basis are willing to gamble away hundreds or even thousands of dollars based on the roll of the dice, spin of the wheel, or draw of the cards. And casinos know it, too. They’re constantly tinkering with the formulas that determine how much money a casino will lose on any given bet, and they encourage heavy drinking by offering free booze to big bettors. This labyrinthine design, along with the use of chips instead of real money that is changed for a drink or food, helps dissociate the gamble from spending actual funds, and it’s part of the reason that casino profits are so consistently high.