Casino is a place where people gamble with cash or casino chips on various possible random outcomes or combinations of outcomes. Some casinos also offer entertainment like shows and events. In some countries, there are legal restrictions on where and how casinos can operate.
Gambling in one form or another has been a part of human civilization for millennia. Archeological evidence of dice games dates back to 2300 BC China, while playing cards was first documented in 800 AD. A few hundred years later, baccarat became a popular game in Europe, followed by blackjack in the 1600s.
There are three main types of casino games: gaming machines, table games, and random number games. Gaming machines, such as slot machines, are played by one player at a time and do not require the involvement of casino employees. Table games, such as blackjack or baccarat, involve a gamer competing against the casino and are conducted by croupiers. Random number games, such as roulette or keno, are based on the selection of random numbers by a computerized system.
While some casino games allow a degree of skill by the players, the house edge is always there to favor the casino over time. The house edge is calculated as the sum of the probabilities of winning and losing in a given game, including the percentage of money that the casino expects to win from bets placed by the players. This calculation is done by mathematicians and computer programmers who specialize in iGaming analytics.