The pulsating lights, clink of champagne glasses and roar of slot machines create an incredible buzz in casinos. But while it may seem like gambling is all about luck, there’s actually a lot more to it than that. While the psychology behind casino games differs for players, the overall experience is about adrenaline, excitement and an almost-euphoric sense of joy.

The concept of a casino as an establishment where gamblers can find a variety of ways to try their luck has existed for as long as gambling itself, beginning with primitive protodice and carved dice found in ancient archaeological sites [Source: Schwartz]. However, the modern casino as we know it began to take shape in the 16th century during a craze for gambling that saw Italian aristocrats host lavish parties in places called ridotti.

These days, casino designers work hard to create a euphoric atmosphere to keep people playing. They waft scented oils through ventilation systems, use bright colors to stimulate the eyes, and play music that evokes happy memories to keep people engaged. There are even games designed to manipulate near-misses (like a popped eyeball or a baseball bat beating) to generate excitement and increase player’s chances of winning.

It’s also important to remember that casinos are businesses, and they have certain built-in advantages that ensure their profits. If you’re a high-roller, you’ll be ushered into special rooms that are off limits to the masses and will receive comps worth thousands of dollars. The odds are, though, that you’ll end up losing your money in the long run.