Hi everyone
I've just started a little project of a monte carlo simulation for Roulette just for fun. So I've currently got it set up to play through 1000 spins and then simulate that 1000 spin game 5000 times.
What I'd like to know is if I could have a cell where I can input the number of spins the game will contain? So I could change a cell to 100, and then instead of doing the 1000 I've set it to, it would just do 100 spins instead. So a variable amount of plays depending on what a cell is set to.
Also in Roulette, you can lose all your money and so you can't play any more. Currently to factor this in I've got it to be IF the previous cell was 0, then every result from then on would be 0, but it's still processing that until the 1000 spins is over. Seems like a waste? Is there a way for it to just stop the spinning if the current bankroll becomes 0?
Thanks in advance for any helpful answers! It's the first time i've ever played round with monte carlo simulation.
Bookmarks