A casino is a gambling establishment where customers can try their luck at various games of chance, some of which require skill. Some of the more popular games include blackjack, roulette, and poker. The casino industry is regulated by governments to ensure fair play. Casinos also offer restaurants, hotels, non-gambling gaming areas, and other amenities to attract customers. The first modern casinos developed in Nevada and then spread to other states where legal gambling was allowed. Many casinos are massive entertainment complexes with themed attractions and spectacular buildings.

Casinos make money by giving their patrons a small percentage of the total amount of bets they accept, which is called the house edge. This advantage may be only a few percent, but it can add up over time to significant gross profits. The casinos use this income to pay out winnings, pay employees, and fund other operations. Casinos also take a small commission on some games, such as baccarat and some video poker machines.

While gambling probably predates recorded history, the modern casino as a place where people can find a variety of ways to gamble under one roof didn’t develop until the 16th century. It probably helped that a gambling craze was sweeping Europe at the time, with primitive protodice and carved six-sided dice appearing in archaeological sites. Casinos are governed by the law and have strict security measures to prevent cheating. Cameras and other electronic devices watch over table players, and dealers can look down through catwalks in the ceiling with one-way glass to keep an eye on their patrons.