Bitcoin Forum
June 17, 2024, 05:35:37 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Gambling / Re: Martingale prediction script for sites like just-dice on: September 08, 2013, 02:06:19 PM
How do I run this simulation?

You have to have python installed then you have to call the script via
Code:
python <filename>
from a terminal.
2  Economy / Gambling / Martingale prediction script for sites like just-dice on: September 08, 2013, 03:45:34 AM
Hi guys,

I wrote a little python script to simulate multiple games using the martingale strategy.

https://gist.github.com/anonymous/6478117

You can enter the number of games to simulate, the initial bankroll, the target bankroll, the initial bet, how many times to double your bet, the chance to win and the house edge (if you want to use the default values, just press enter after the prompt) -- after that you get a winning probability. You should be able to start it with:
Code:
python predict_martingale_v4.py

The output looks something like this:



Feedback very welcome.

Donations also appreciated since I discovered just-dice before I did some martingale calculations Grin
1EZhao5iqAtYTqXGKhsvRk8eBGraG1QCmx

Fabian.
3  Other / Beginners & Help / Re: Hi on: September 07, 2013, 05:23:30 PM
Hey guys.

I'm Fabian and I just discovered the forum and just-dice. I wrote a little martingale prediction script and wanted to post it to the gambling section but I guess I need to post here first. So I'll just wait and and post my script later in the right forum, if you want to take a look now it's here:
https: //gist.github.com/anonymous/6477633
(update 7:42pm: new link posted, indent error fixed)


https://gist.github.com/anonymous/6478117
(update 8:45pm: probability calc fixed for probs over 50%)


The script simulates a number of games and gives you a winning probability. You should be able to start it with:
Code:
python predict_martingale.py

Feedback very welcome.

Donations also appreciated since I discovered just-dice before I did some martingale calculations  Grin
1EZhao5iqAtYTqXGKhsvRk8eBGraG1QCmx

Fabian.

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!