Interested in making Video Gambling Machine with Linux

The programming is by far the easiest part of this. I'm not sure you understand how big an endeavor this is.

Programming-wise, you need to write code that is stable, doesn't crash, doesn't produce mathematical errors and can handle numerical quirks, and where every value is exactly as expected. This is much harder than people assume it is. You can search "floating point inaccuracy" or "out of bounds error" to see how easily people can mess up on things you can easily overlook, with these errors potentially costing you thousands of dollars.

The harder parts will be actually implementing your games. First, do you have a solid understanding of statistics? No one is going to play your game if no one actually wins. Conversely, there's no point in having a gaming machine if the odds aren't in your favor. On top of that, every single little change to gameplay can change the odds dramatically. Look at the recent Powerball change. They increased the range of the five numbers from 1-69 from 1-59, but decreased the range of the Powerball number from 1-35 to 1-26. This increased the chances of winning a prize from 1:31.85 to 1:24.97, but decreased the odds of winning the jackpot from 1:176mil to 1:293mil. Do you have a proper understanding of statistics to know how to keep the game engaging yet profitable?

Finally, as you already know, gambling in the US is heavily regulated. There's so many laws regulating the games from how they operate to how they pay out that you need a lawyer to properly navigate all of this.

It's an immense effort that frankly I wouldn't advise you do, especially since if you get one thing wrong it's potentially just giving your money away to everyone.

/r/learnprogramming Thread