The casino evokes images of Las Vegas and a glitzy world of glamorous escapades, musical shows and dazzling displays of money. While these amenities attract visitors, the vast majority of a casino’s profits comes from games of chance. Slot machines, blackjack, roulette, craps and keno provide the billions of dollars that make casinos possible. The modern casino is like an indoor amusement park for adults, but it would not exist without games of chance.

Most people know that casinos are based on gambling, but many are unaware of how they make their money. Gambling has been a part of human culture since the dawn of civilization. Primitive protodice (cut knuckle bones) and carved six-sided dice have been found in archaeological digs, and there are records of casino games in early history. However, the casino as a central place for a variety of gambling activities did not develop until the 16th century, when a gaming craze swept Europe. Italian aristocrats held private parties in gambling houses called ridotti, where they could indulge their passion for gambling without fear of legal persecution.

Today, casinos use a variety of techniques to control the flow of money and prevent cheating. Cameras monitor the game floor to catch blatant fraud and dishonesty; electronic systems in tables allow them to track betting amounts minute-by-minute and warn about statistical deviations from expected results. A modern casino might also have an eye-in-the-sky surveillance system that uses dozens of cameras to watch every table, window and doorway, and can be directed by security personnel at a separate room filled with banks of security monitors.

In addition to technical measures, casinos enforce security by following a set of rules and routines. Dealers shuffle and deal cards in specific ways that signal an attempt to alter their cards. They also follow a standard sequence for placing bets that can help them spot improbable movements and behavior.

A casino’s profit margin comes from the built-in advantage it has in each game, which is known as the house edge. This advantage, which is the casino’s expected net profit from each bet placed, varies by game, but it is always negative for players. In games that involve an element of skill, such as baccarat and poker, the casino’s profit is made either by taking a percentage of each pot or charging an hourly fee.

Some critics argue that the social cost of casinos is far greater than their economic benefits. They point out that problem gamblers divert spending from other entertainment and cause loss of productivity in workplaces. They also contend that the presence of a casino lowers property values in surrounding neighborhoods, and that the money spent on treating gambling addictions cancels out any economic gains from the industry. Despite these criticisms, the gambling industry continues to grow and prosper. Many states, including Iowa and New Jersey, now have casinos, while the city of Macau is emerging as a gambling mecca in East Asia.