![]() | Bovada is the only Internet casino endorsed by the Wizard. Here are my reasons why and my promise of support. |
Home » Forums » Questions and Answers » Math » Martingale system works? 1m trials on Baccarat using MATLAB.
Martingale system works? 1m trials on Baccarat using MATLAB.
| January 30th, 2012 at 1:08:38 AM permalink | |
| mowgli Member since: Jan 29, 2012 Threads: 1 Posts: 1 | Hello Wizards, I was bored one afternoon and thought to myself: Why don't I program my own system analyser? So that's exactly what I did. But when I ran it I got a strange result. I got a winning result... (note that I am aware that the program assumes that you have unlimited money available to you outside of the casino, but that shouldn't help you defeat the odds) So the rules are as follows: Starting bet is of 1 unit. You have a bankroll of 512 units. Win limit per trial is 10 units. Loss limit is entire bankroll. The version of Baccarat is commission free bank wins on 6 pays 1 to 2. Upon loss you double your previous bet. Upon win your next bet is 1 unit. Upon a win on bank with 6 your next bet is half your previous bet. The first bet (player or banker) is chosen at random. Every bet there after is placed on the opposite side (eg: P, B, P, B, P, ...) Each shoe is played until less than 15 cards remain. The shoe has 8 decks. Each trial begins with a full bankroll of 512 units, commences with a bet of 1 unit and ends upon a loss of entire bankroll or win of 10 units. After each trial the shoe is shuffled. The program is set to run 1,000,000 trials. At the end it displays how many winning trials there were and how many losing. It displays the win/loss percentage and the actual dollar value of said win or loss. The win or loss is calculated by: wins*10 - losses*512 The strange thing was I kept getting results such as the following:
How can I possibly be winning after a million trials? I know better than to believe my results. Is there anyone out there who can think of where my mistake lies? In case I got the dealing of the tableau wrong I am pasting the code here for the dealing of the cards:
|
| January 30th, 2012 at 2:33:07 AM permalink | |
| SOOPOO Member since: Aug 8, 2010 Threads: 49 Posts: 1325 | You got lucky. Variance was on your side. |
| January 30th, 2012 at 2:45:29 AM permalink | |
| gameterror Member since: Jan 30, 2012 Threads: 0 Posts: 11 | can you post your bankroll code ? and did you run single trials and check your bankroll in the end ? my guess is that your actual bankroll in the end might be less than zero. meaning that you lost more than 512 units. Things have never been so swell
I have never failed to fail |
![]() | Bovada is the only Internet casino endorsed by the Wizard. Here are my reasons why and my promise of support. |
