Casino is a gambling establishment, usually an enclosed building, where people can play games of chance or skill. Most casinos offer a wide variety of games, including roulette, blackjack, and poker. Casinos also offer food and drink, and some even host entertainment events. Most casinos are located in states that allow gambling, although some are operated by Native American tribes and are thus not subject to state anti-gambling laws.

The first casinos appeared in the 1700s in France, and they spread to other parts of Europe in the 1800s. The American casino industry boomed in the mid-20th century, anchored by Las Vegas and Atlantic City. In the 1980s and ’90s, casinos also began appearing on American Indian reservations.

A key characteristic of casinos is that they always have a mathematical expectation of profit, which can be described as the house edge or the expected value of a wager (EVW). The house advantage depends on how much money the casino accepts from gamblers and the types of games offered. Casinos make their profit in a number of ways, but the most common is by collecting a percentage of each game’s total bets, known as the vig or the rake.

Casinos often hire gaming mathematicians and computer programmers to determine the odds of various casino games. This helps them maximize their profits and limit their losses. These professionals are sometimes called gaming analysts or mathematical consultants. Most casinos have a dedicated security department that patrols the property and responds to calls for assistance and reports of suspicious or definite criminal activity. Modern casinos also employ specialized surveillance departments that use closed circuit television to monitor the activities of patrons in their gambling halls.