Member-only story
A Gambling System With Javascript? Part 1.
1 min readJun 20, 2018
So here’s my plan;
- 🏗️ build a simple Javascript roulette simulation
- 🔧 have various options to tweak a betting system
- 👨🏻🔬 test and run various ‘systems’
- 💸 find optimal settings & average yield
- 🎲 replace Math.random with true random numbers
- 🤖 replace system creation with an artificial neural network
And a few caveats;
- This whole idea of a gambling/betting system is definitely flawed, I do not have any hopes of achieving a feasible system.
- It’s based off the idea that, if after 10,000 runs, the odds of getting black/red on a roulette wheel comes close to 50%, then a systematic way of observing and betting should be possible.
- Yes, it’s pretty much what the Gambler’s fallacy warns against, but I just can’t wrap my mind around the fact that probability, odds and the past doesn’t relate. I believe that the best way is to visualise it happening in a simulation and look at how it’s failing.
If you’re interested in this topic and what I’m trying to achieve, do follow this series. I’ll share all my learnings along the way, perhaps even post the simulation app so you guys can play along.
Part 2 continues here.
Good luck, have fun.