Casinos are popular places for weekend getaways and parties. But there’s more to casinos than just opulence, neon signs, and glitzy gambling games. They are designed with specific psychological tricks and features to make players crave them more and spend more money — even when they know that the house always wins.

There are three general types of casino games: gaming machines, table games, and random number games. Gaming machines are controlled by computer chips and require no employee intervention. Table games, on the other hand, involve one or more players who compete against the house rather than against each other and are operated by croupiers (or dealers). Random number games, such as keno and bingo, are based on the selection of random numbers generated by a computerized random number generator.

A casino’s business model depends on the amount of time that guests stay and gamble. To maximize their profit, they must ensure that the odds of each game are uniformly negative for every player (this is also known as expected value). This is why casinos hire mathematicians and computer programmers to calculate these probabilities. They also work to encourage visitors to spend more money by offering a variety of payment methods.