Whether you walk into a casino with the intention of gambling, dining, or just taking in the atmosphere, there’s no doubt that the place is designed to make money. Every aspect of the environment, from dazzling lights to physical design, is meant to lure you in and keep you there.

It’s a tricky task to walk away from a casino, even when you know you’re losing money. That’s why casinos employ a variety of techniques to get you to spend more than you intended.

One of the most important tools a casino has is their knowledge of odds and house edges. They have a staff of mathematicians who constantly analyze the results of each game to identify patterns and trends. They also understand the variance, which is how much a single bet can swing either way. This information is used to calculate the amount of cash they need as a percentage of total revenue.

Another key tool is their use of compulsions. Players are given free hotel rooms, meals and even airline tickets if they play enough at the tables or slots. The goal is to make them feel like they are winning when they’re actually losing, a concept known as the sunk cost fallacy.

But perhaps the most potent trick casinos have is their ability to manufacture a sense of bliss. With their dazzling lights, the sound of clinking slot machines and the smell of perfumed oils, casinos are a manufactured experience designed to give people an emotional high.