Illustrated Dan Denney in a circle

Roulettingale

February 05, 2015

Roulettingale

A data project observing the performance of the Martingale betting system in Roulette. Details

This one is retired, v2 is in action.

Notes: Roulette 3d iOS, Single bet

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
black $ 50 $ 50 36
black $ 100 $ 100 0
black $ 200 $ 200 6
black $ 50 $ 50 11
black $ 50 $ 50 17
black $ 50 $ 50 26
black $ 50 $ 50 0
black $ 100 $ 100 9
black $ 200 $ 200 17
black $ 50 $ 50 14
black $ 50 $ 50 33
black $ 50 $ 50 27
black $ 100 $ 100 1
black $ 200 $ 200 8
black $ 50 $ 50 0
black $ 100 $ 100 19
black $ 200 $ 200 14
black $ 400 $ 400 18
black $ 800 $ 800 17
black $ 50 $ 50 0
black $ 100 $ 100 22
black $ 50 $ 50 18
black $ 100 $ 100 36
black $ 200 $ 200 13
black $ 50 $ 50 23
black $ 100 $ 100 21
black $ 200 $ 200 33
black $ 50 $ 50 18
black $ 100 $ 100 13
black $ 50 $ 50 8
black $ 50 $ 50 31
black $ 50 $ 50 13

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 16
even $ 50 $ 50 17
red $ 100 $ 100 14
black $ 50 $ 50 23
odd $ 100 $ 100 17
19-36 $ 50 $ 50 6
1-18 $ 100 $ 100 25
even $ 200 $ 200 34
red $ 50 $ 50 31
black $ 100 $ 100 0
odd $ 200 $ 200 35
19-36 $ 50 $ 50 9
1-18 $ 100 $ 100 21
even $ 200 $ 200 23
red $ 400 $ 400 9
black $ 50 $ 50 15
odd $ 50 $ 50 31
19-36 $ 50 $ 50 34
1-18 $ 50 $ 50 16
even $ 50 $ 50 5
red $ 100 $ 100 32
black $ 50 $ 50 29
odd $ 50 $ 50 22
19-36 $ 100 $ 100 22
1-18 $ 50 $ 50 25
even $ 100 $ 100 6
red $ 50 $ 50 2
black $ 100 $ 100 34
odd $ 200 $ 200 33
  • 15

    53.57%

    Red
  • 13

    46.43%

    Black
  • 12

    42.86%

    Even
  • 16

    57.14%

    Odd
  • 12

    42.86%

    1-18
  • 16

    57.14%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 13
even $ 50 $ 50 34
red $ 50 $ 50 7
black $ 50 $ 50 15
odd $ 50 $ 50 11
19-36 $ 50 $ 50 7
19-36 $ 100 $ 100 20
1-18 $ 50 $ 50 36
1-18 $ 100 $ 100 4
red $ 50 $ 50 0
red $ 100 $ 100 19
black $ 50 $ 50 21
black $ 100 $ 100 21
black $ 200 $ 200 9
even $ 400 $ 400 16
black $ 50 $ 50 15
odd $ 50 $ 50 31
19-36 $ 50 $ 50 4
19-36 $ 100 $ 100 4
19-36 $ 200 $ 200 23
1-18 $ 50 $ 50 32
1-18 $ 100 $ 100 10
even $ 50 $ 50 12
red $ 50 $ 50 25
  • 13

    56.52%

    Red
  • 10

    43.48%

    Black
  • 10

    43.48%

    Even
  • 13

    56.52%

    Odd
  • 13

    56.52%

    1-18
  • 10

    43.48%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 28
1-18 $ 100 $ 100 3
even $ 50 $ 50 34
red $ 50 $ 50 30
black $ 50 $ 50 13
odd $ 50 $ 50 20
odd $ 100 $ 100 34
odd $ 200 $ 200 2
odd $ 400 $ 400 8
odd $ 800 $ 800 9
19-36 $ 50 $ 50 34
1-18 $ 50 $ 50 30
1-18 $ 100 $ 100 3
even $ 50 $ 50 0
even $ 100 $ 100 26
red $ 50 $ 50 0
red $ 100 $ 100 5
black $ 50 $ 50 31
odd $ 50 $ 50 10
odd $ 100 $ 100 8
odd $ 200 $ 200 11
19-36 $ 50 $ 50 31
1-18 $ 50 $ 50 36
1-18 $ 100 $ 100 22
1-18 $ 200 $ 200 8
even $ 50 $ 50 17
even $ 100 $ 100 32
red $ 50 $ 50 14
  • 12

    46.15%

    Red
  • 14

    53.85%

    Black
  • 17

    65.38%

    Even
  • 9

    34.62%

    Odd
  • 13

    50.00%

    1-18
  • 13

    50.00%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 15
even $ 50 $ 50 13
red $ 100 $ 100 1
black $ 50 $ 50 33
odd $ 50 $ 50 25
19-36 $ 50 $ 50 15
1-18 $ 50 $ 50 12
even $ 50 $ 50 16
red $ 50 $ 50 32
black $ 50 $ 50 17
odd $ 50 $ 50 35
19-36 $ 50 $ 50 18
1-18 $ 100 $ 100 26
even $ 200 $ 200 14
red $ 50 $ 50 13
black $ 100 $ 100 5
odd $ 200 $ 200 14
19-36 $ 400 $ 400 23
1-18 $ 50 $ 50 31
even $ 100 $ 100 10
red $ 50 $ 50 0
black $ 100 $ 100 1
odd $ 200 $ 200 34
19-36 $ 400 $ 400 12
1-18 $ 800 $ 800 9
even $ 50 $ 50 20
red $ 50 $ 50 0
black $ 100 $ 100 32
odd $ 200 $ 200 3
  • 16

    59.26%

    Red
  • 11

    40.74%

    Black
  • 12

    44.44%

    Even
  • 15

    55.56%

    Odd
  • 17

    62.96%

    1-18
  • 10

    37.04%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 22
even $ 100 $ 100 9
red $ 200 $ 200 8
black $ 400 $ 400 26
odd $ 50 $ 50 25
19-36 $ 50 $ 50 33
1-18 $ 50 $ 50 31
even $ 50 $ 50 10
red $ 50 $ 50 34
black $ 50 $ 50 29
odd $ 50 $ 50 34
19-36 $ 100 $ 100 35
1-18 $ 50 $ 50 14
even $ 50 $ 50 23
red $ 100 $ 100 34
black $ 50 $ 50 3
odd $ 100 $ 100 12
19-36 $ 200 $ 200 27
  • 10

    55.56%

    Red
  • 8

    44.44%

    Black
  • 9

    50.00%

    Even
  • 9

    50.00%

    Odd
  • 6

    33.33%

    1-18
  • 12

    66.67%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 26
1-18 $ 100 $ 100 7
even $ 50 $ 50 33
even $ 100 $ 100 28
red $ 50 $ 50 23
black $ 50 $ 50 7
black $ 100 $ 100 18
black $ 200 $ 200 31
odd $ 50 $ 50 15
19-36 $ 50 $ 50 35
1-18 $ 50 $ 50 10
even $ 50 $ 50 31
even $ 100 $ 100 13
even $ 200 $ 200 35
red $ 400 $ 400 6
red $ 800 $ 800 36
black $ 50 $ 50 15
odd $ 50 $ 50 11
  • 5

    27.78%

    Red
  • 13

    72.22%

    Black
  • 6

    33.33%

    Even
  • 12

    66.67%

    Odd
  • 9

    50.00%

    1-18
  • 9

    50.00%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 10
even $ 50 $ 50 28
red $ 50 $ 50 34
black $ 50 $ 50 28
odd $ 50 $ 50 15
19-36 $ 50 $ 50 34
1-18 $ 50 $ 50 23
1-18 $ 100 $ 100 9
even $ 50 $ 50 17
even $ 100 $ 100 31
even $ 200 $ 200 8
red $ 50 $ 50 3
black $ 50 $ 50 16
black $ 50 $ 50 20
  • 6

    42.86%

    Red
  • 8

    57.14%

    Black
  • 8

    57.14%

    Even
  • 6

    42.86%

    Odd
  • 7

    50.00%

    1-18
  • 7

    50.00%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 3
even $ 50 $ 50 35
even $ 100 $ 100 35
even $ 200 $ 200 17
red $ 400 $ 400 8
red $ 800 $ 800 18
black $ 50 $ 50 35
odd $ 50 $ 50 0
odd $ 50 $ 50 29
19-36 $ 50 $ 50 14
19-36 $ 100 $ 100 28
1-18 $ 50 $ 50 28
1-18 $ 100 $ 100 23
1-18 $ 200 $ 200 13
even $ 50 $ 50 33
even $ 100 $ 100 23
even $ 200 $ 200 21
black $ 400 $ 400 1
black $ 800 $ 800 35
red $ 50 $ 50 23
even $ 50 $ 50 1
even $ 100 $ 100 1
even $ 200 $ 200 20
odd $ 50 $ 50 0
odd $ 100 $ 100 13
  • 10

    43.48%

    Red
  • 13

    56.52%

    Black
  • 6

    26.09%

    Even
  • 17

    73.91%

    Odd
  • 10

    43.48%

    1-18
  • 13

    56.52%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 18
even $ 50 $ 50 2
red $ 50 $ 50 32
black $ 50 $ 50 17
odd $ 50 $ 50 12
odd $ 100 $ 100 30
odd $ 200 $ 200 12
black $ 400 $ 400 31
19-36 $ 50 $ 50 29
1-18 $ 50 $ 50 26
1-18 $ 100 $ 100 33
1-18 $ 200 $ 200 3
even $ 50 $ 50 17
even $ 100 $ 100 18
red $ 50 $ 50 12
black $ 50 $ 50 29
  • 8

    50.00%

    Red
  • 8

    50.00%

    Black
  • 9

    56.25%

    Even
  • 7

    43.75%

    Odd
  • 9

    56.25%

    1-18
  • 7

    43.75%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
red $ 50 $ 50 7
even $ 50 $ 50 11
even $ 100 $ 100 30
1-18 $ 50 $ 50 15
19-36 $ 50 $ 50 30
odd $ 50 $ 50 28
odd $ 100 $ 100 13
black $ 50 $ 50 6
red $ 50 $ 50 11
red $ 100 $ 100 34
even $ 50 $ 50 26
1-18 $ 50 $ 50 5
19-36 $ 50 $ 50 0
19-36 $ 100 $ 100 3
19-36 $ 200 $ 200 21
  • 7

    50.00%

    Red
  • 7

    50.00%

    Black
  • 6

    42.86%

    Even
  • 8

    57.14%

    Odd
  • 8

    57.14%

    1-18
  • 6

    42.86%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 34
1-18 $ 100 $ 100 11
19-36 $ 50 $ 50 23
odd $ 50 $ 50 2
odd $ 100 $ 100 9
black $ 50 $ 50 10
red $ 50 $ 50 25
even $ 50 $ 50 7
even $ 100 $ 100 32
1-18 $ 50 $ 50 11
19-36 $ 50 $ 50 20
odd $ 50 $ 50 24
odd $ 100 $ 100 24
odd $ 200 $ 200 3
black $ 50 $ 50 23
black $ 100 $ 100 4
  • 8

    50.00%

    Red
  • 8

    50.00%

    Black
  • 8

    50.00%

    Even
  • 8

    50.00%

    Odd
  • 8

    50.00%

    1-18
  • 8

    50.00%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
black $ 50 $ 50 20
black $ 50 $ 50 34
black $ 100 $ 100 12
black $ 200 $ 200 26
black $ 50 $ 50 34
black $ 100 $ 100 5
black $ 200 $ 200 3
black $ 400 $ 400 19
black $ 800 $ 800 18
black $ 1600 $ 1600 22
black $ 50 $ 50 10
black $ 50 $ 50 33
black $ 50 $ 50 30
black $ 100 $ 100 4
black $ 50 $ 50 32
black $ 100 $ 100 4
black $ 50 $ 50 6
black $ 50 $ 50 16
black $ 100 $ 100 26
black $ 50 $ 50 6
  • 10

    50.00%

    Red
  • 10

    50.00%

    Black
  • 16

    80.00%

    Even
  • 4

    20.00%

    Odd
  • 10

    50.00%

    1-18
  • 10

    50.00%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
black $ 50 $ 50 13
even $ 50 $ 50 19
black $ 100 $ 100 29
even $ 50 $ 50 32
1-18 $ 50 $ 50 25
black $ 100 $ 100 24
1-18 $ 50 $ 50 16
odd $ 50 $ 50 24
1-18 $ 100 $ 100 0
19-36 $ 200 $ 200 32
black $ 50 $ 50 21
even $ 100 $ 100 28
red $ 50 $ 50 22
odd $ 100 $ 100 4
19-36 $ 200 $ 200 29
red $ 50 $ 50 15
even $ 100 $ 100 24
1-18 $ 50 $ 50 35
red $ 100 $ 100 27
  • 7

    38.89%

    Red
  • 11

    61.11%

    Black
  • 9

    50.00%

    Even
  • 9

    50.00%

    Odd
  • 4

    22.22%

    1-18
  • 14

    77.78%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 27
19-36 $ 100 $ 100 6
odd $ 200 $ 200 22
black $ 400 $ 400 7
red $ 800 $ 800 3
even $ 50 $ 50 14
1-18 $ 50 $ 50 1
19-36 $ 50 $ 50 16
odd $ 100 $ 100 13
black $ 50 $ 50 4
red $ 50 $ 50 1
even $ 50 $ 50 11
1-18 $ 100 $ 100 16
19-36 $ 50 $ 50 6
odd $ 100 $ 100 16
black $ 200 $ 200 9
red $ 400 $ 400 19
1-18 $ 50 $ 50 29
19-36 $ 100 $ 100 38
odd $ 50 $ 50 30
black $ 100 $ 100 23
red $ 200 $ 200 27
  • 14

    66.67%

    Red
  • 7

    33.33%

    Black
  • 9

    42.86%

    Even
  • 12

    57.14%

    Odd
  • 14

    66.67%

    1-18
  • 7

    33.33%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
1-18 $ 50 $ 50 27
1-18 $ 100 $ 100 19
1-18 $ 200 $ 200 20
1-18 $ 400 $ 400 23
1-18 $ 800 $ 800 18
19-36 $ 50 $ 50 18
19-36 $ 100 $ 100 18
19-36 $ 200 $ 200 19
red $ 50 $ 50 25
black $ 50 $ 50 12
black $ 100 $ 100 36
black $ 200 $ 200 22
even $ 50 $ 50 29
even $ 100 $ 100 24
odd $ 50 $ 50 24
odd $ 100 $ 100 3
19-36 $ 50 $ 50 29
1-18 $ 50 $ 50 2
red $ 50 $ 50 32
black $ 50 $ 50 18
black $ 100 $ 100 28
  • 13

    61.90%

    Red
  • 8

    38.10%

    Black
  • 13

    61.90%

    Even
  • 8

    38.10%

    Odd
  • 7

    33.33%

    1-18
  • 14

    66.67%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
black $ 50 $ 50 4
red $ 50 $ 50 35
red $ 100 $ 100 8
red $ 200 $ 200 6
red $ 400 $ 400 7
even $ 50 $ 50 1
even $ 100 $ 100 9
even $ 200 $ 200 23
even $ 400 $ 400 21
even $ 800 $ 800 13
even $ 1600 $ 1600 21
even $ 3200 $ 3200 5
even $ 6400 $ 6400 22
odd $ 50 $ 50 6
odd $ 100 $ 100 9
red $ 50 $ 50 27
black $ 50 $ 50 26
even $ 50 $ 50 25
even $ 100 $ 100 23
even $ 200 $ 200 15
red $ 400 $ 400 32
odd $ 50 $ 50 6
odd $ 100 $ 100 28
odd $ 200 $ 200 8
odd $ 400 $ 400 6
red $ 800 $ 800 28
red $ 1600 $ 1600 36
black $ 50 $ 50 16
black $ 100 $ 100 2
even $ 50 $ 50 13
even $ 100 $ 100 26
  • 14

    45.16%

    Red
  • 17

    54.84%

    Black
  • 16

    51.61%

    Even
  • 15

    48.39%

    Odd
  • 17

    54.84%

    1-18
  • 14

    45.16%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
red $ 50 $ 50 9
black $ 50 $ 50 18
black $ 100 $ 100 19
black $ 200 $ 200 24
even $ 50 $ 50 3
even $ 100 $ 100 16
odd $ 50 $ 50 5
red $ 50 $ 50 3
black $ 50 $ 50 19
black $ 100 $ 100 35
even $ 50 $ 50 7
even $ 100 $ 100 22
odd $ 50 $ 50 14
odd $ 100 $ 100 17
red $ 50 $ 50 19
black $ 50 $ 50 19
black $ 100 $ 100 10
  • 12

    70.59%

    Red
  • 5

    29.41%

    Black
  • 6

    35.29%

    Even
  • 11

    64.71%

    Odd
  • 10

    58.82%

    1-18
  • 7

    41.18%

    19-36

Spins

Bet Amount Result Number Red Black Even Odd 1-18 19-36
even $ 50 $ 50 22
red $ 50 $ 50 22
red $ 100 $ 100 11
red $ 200 $ 200 16
black $ 50 $ 50 16
black $ 100 $ 100 2
even $ 50 $ 50 36
odd $ 50 $ 50 22
odd $ 100 $ 100 13
red $ 50 $ 50 15
red $ 100 $ 100 29
red $ 200 $ 200 2
red $ 400 $ 400 34
black $ 50 $ 50 4
odd $ 50 $ 50 26
odd $ 100 $ 100 12
odd $ 200 $ 200 9
even $ 50 $ 50 16
black $ 50 $ 50 21
black $ 100 $ 100 16
black $ 200 $ 200 28
  • 9

    42.86%

    Red
  • 12

    57.14%

    Black
  • 15

    71.43%

    Even
  • 6

    28.57%

    Odd
  • 12

    57.14%

    1-18
  • 9

    42.86%

    19-36

Roulettingale

February 5, 2015

The Idea

Track and visualize series of attempts to use the martingale betting system in Roulette.

I recently learned of the Martingale betting system and how it's one of the popular betting systems used in roulette. I've always been a fan of number systems, especially ones that involve wagering: stocks and gambling.

There are some decent roulette apps for iOS and the Mac so I'm going to run a series of tests using the system, record data, and visualize it.

Manual Data Collection… yuk

This is all manual and I'll use a couple of different apps to get different results. I've been using an app on iOS called Roulette - Casino Style and I've already noticed a couple of patterns where it repeats numbers after a win.

I do have some concerns about using these apps because they offer in-app purchases. While the odds alone would lead to plenty of purchases, it certainly seems like it would be easy to program some occasional lose streaks to help out.

In my first day of testing, my longest losings streaks came from only betting black and using the system. I'll test more to see if that is normal.

What to Observe

I want to know a few things:

The First Sessions

I believe that this is what I want to know and display about individual sessions. This part tells the important part of the data:

Can you successfully win 10 times your minimum wager within the stakes?

If so, how much of a bankroll was necessary to achieve it and how many rolls did it take?

(It seems you can get in 35 - 112 spins per hour depending on the number of players. Reference )

Session 001

Winnings
10x
Spins
16
Max Bet
4x
Min Bankroll
7x
Mirage ($25 - $20,000) (800, 400, 200)
Yes, Yes, Yes
Mirage ($100 - $20,000) (-, -, 200)
-, -, Yes
MGM ($25 - $10,000) (400, 200, 100)
Yes, Yes, Yes
Beau Rivage ($10 - $15,000) (600, 300, 150)
Yes, Yes, Yes

Session 002

Winnings
10x
Spins
21
Max Bet
8x
Min Bankroll
15x
Mirage ($25 - $20,000) (800, 400, 200)
Yes, Yes, Yes
Mirage ($100 - $20,000) (-, -, 200)
-, -, Yes
MGM ($25 - $10,000) (400, 200, 100)
Yes, Yes, Yes
Beau Rivage ($10 - $15,000) (600, 300, 150)
Yes, Yes, Yes

Session 003

Winnings
10x
Spins
17
Max Bet
4x
Min Bankroll
7x
Mirage ($25 - $20,000) (800, 400, 200)
Yes, Yes, Yes
Mirage ($100 - $20,000) (-, -, 200)
-, -, Yes
MGM ($25 - $10,000) (400, 200, 100)
Yes, Yes, Yes
Beau Rivage ($10 - $15,000) (600, 300, 150)
Yes, Yes, Yes

Session 004

Winnings
10x
Spins
31
Max Bet
128x
Min Bankroll
255x
Mirage ($25 - $20,000) (800, 400, 200)
Yes, Yes, Yes
Mirage ($100 - $20,000) (-, -, 200)
-, -, Yes
MGM ($25 - $10,000) (400, 200, 100)
Yes, Yes, No
Beau Rivage ($10 - $15,000) (600, 300, 150)
Yes, Yes, Yes

Session 005

Winnings
10x
Spins
21
Max Bet
16x
Min Bankroll
31x
Mirage ($25 - $20,000) (800, 400, 200)
Yes, Yes, Yes
Mirage ($100 - $20,000) (-, -, 200)
-, -, Yes
MGM ($25 - $10,000) (400, 200, 100)
Yes, Yes, Yes
Beau Rivage ($10 - $15,000) (600, 300, 150)
Yes, Yes, Yes

Session 006

Winnings
10x
Spins
22
Max Bet
16x
Min Bankroll
31x
Mirage ($25 - $20,000) (800, 400, 200)
Yes, Yes, Yes
Mirage ($100 - $20,000) (-, -, 200)
-, -, Yes
MGM ($25 - $10,000) (400, 200, 100)
Yes, Yes, Yes
Beau Rivage ($10 - $15,000) (600, 300, 150)
Yes, Yes, Yes

Session 007

Winnings
10x
Spins
19
Max Bet
4x
Min Bankroll
7x
Mirage ($25 - $20,000) (800, 400, 200)
Yes, Yes, Yes
Mirage ($100 - $20,000) (-, -, 200)
-, -, Yes
MGM ($25 - $10,000) (400, 200, 100)
Yes, Yes, Yes
Beau Rivage ($10 - $15,000) (600, 300, 150)
Yes, Yes, Yes

Session 008

Winnings
10x
Spins
21
Max Bet
32x
Min Bankroll
63x
Mirage ($25 - $20,000) (800, 400, 200)
Yes, Yes, Yes
Mirage ($100 - $20,000) (-, -, 200)
-, -, Yes
MGM ($25 - $10,000) (400, 200, 100)
Yes, Yes, Yes
Beau Rivage ($10 - $15,000) (600, 300, 150)
Yes, Yes, Yes

Session Spins and Bets

I'm recording each spin and bet as well. While these aren't useful in answering the questions, they'll make for some interesting visualizations. I'll also need to learn how to compile and compare data sets, which is one of the goals of this little project.

Colors

I searched for roulette and casino on colourlovers.com and found a few options that I dig.

Graphs

This is a loose example, but I'm thinking of plotting the rolls like this with the 00 through 36 on the Y axis and the X axis showing spin count and bet amount.

Chartist gets closer to showing it, albeit with the usual range problem which I'll need to solve with d3 instead.

February 6, 2015

Got a big JSON going and spewing out data. Let's get it on.

February 7, 2015

I went with the first color scheme, Casino Royale, and began adding some styles. I think this is a good time to learn some flexbox. I want some things vertically centered and I want the sidebar with information to have a different color background. The 2 columns are uneven and can vary as to which one is longer. There are hacks for that in the grid but I'd rather just learn flexbox since this is a side project and I'm not worried about people seeing it or what browser they're in.

I'm doing a weird combination of Middleman math and JS math to get the values. When I do a session, I've started recording them as single unit values. Ultimately, I want to show the results for multiple bet amounts: $25, $50, $100, maybe $200. For now, I got it working at $50 and I'll work out how to make it more flexible when I'm ready.

February 8, 2015

The beautiful thing about working with existing data to create the designs is that the data dictates the needs. Before collecting and organizing, I imagined that a scatter chart showing all of the numbers would be interesting. While it may look interesting visually, it doesn't have much impact on the proofing that I'm doing. In this case, I really don't care about what numbers are there. I only care what category they are in, with categories being an available even-money bet type: 1-18, 19-36, odd, even, black, red. I'm not recording this information, but that's just because it's so much more effort and leaves room for error. I'll be using Middleman for this, comparing the individual number against a set of numbers. I'll get a rough version working with template logic and then bug Drew for how to write it better.

Streaks are another thing of interest. They are the best or the worst thing that can happen to a session. A streak of wins is good, a streak of losses is bad. Right now, I can't get these at all. I'll need the results of the checks on the numbers to then identify streaks. Not sure how that will happen yet, but I'll work it out once I can see them.

Hitting a wall

I have this data, but I don't know how to extract certain bits out of it. These things are easily done manually, but I want to do them programmatically. I want to be able to programmatically show what category of bet a spin number is and then graph the results of those.

At this moment, I can't achieve that even with data that I do have recorded. In a session, I want to divide the numbers into their bet categories and graph opposing categories: Red vs. Black, Even vs. Odd, 1-18 vs. 19-36. I can create a table with some really complex if statements, but thinking that this may be a scenario where I have to combine Middleman and d3.

You can see the results and the streaks here, but I also want them in graphs. This is a start, though, so I'm going to put these in. Visually, the check and the 'x' aren't big enough to follow cleanly so I'll do them in a different way.

Number Red Black Even Odd 1-18 19-36
27
26
26
21
8
33
21
32
13
34
29
26
21
32
21
33
Number Red Black Even Odd 1-18 19-36
22
22
11
16
16
2
36
22
13
15
29
2
34
4
26
12
9
16
21
16
28
Number Red Black Even Odd 1-18 19-36
9
18
19
24
3
16
5
3
19
35
7
22
14
17
19
19
10

Digging this

Seeing this in action, I think it's something that I'll want to keep (in addition to visualizing the percentages. It's really interesting and important to betting to see the streaks. Identifying long streaks allows to show how bad it couldn't have gotten in any one session.

jQuery length will get me a lot of what I want so I'll probably start with that. Now that all of this stuff exists in the DOM I can loop over it pretty easily. One quick example is the number of times a number was 1-18 occurred in the first set. I chose this one because it's insanely low.

examplePos = $('.js-id001 .js-n-118 .positive--a').length;
exampleNeg = $('.js-id001 .js-n-118 .negative--a').length;
exampleTot = examplePos + exampleNeg
examplePosPer = examplePos / exampleTot
exampleNegPer = exampleNeg / exampleTot
$('.example-positive').append(examplePosPer)
$('.example-negative').append(exampleNegPer)

1-18:

19-36:

Ready for Charting

As usual, getting the data in helped make decisions. Once I could see the percentages I realized that they're not as important. They'll make for a good graph (maybe a donut chart), but seeing the spin counts make things more apparent. It's awesome to see 009, which was a perfect session.

Bankroll Tables

I've had this in a spreadsheet for reference but I'd rather have it here since I can see the streaks visually now.

Losses Bets Bankroll Bets Bankroll Bets Bankroll
1 25 25 50 50 100 100
2 50 75 100 150 200 300
3 100 175 200 350 400 700
4 200 375 400 750 800 1500
5 400 775 800 1550 1600 3100
6 800 1575 1600 3150 3200 6300
7 1600 3175 3200 6350 6400 12700
8 3200 6375 6400 12750 12800 25500
9 6400 12775 12800 25550 25600 51100
10 12800 25575 25600 51150 51200 102300
11 25600 51175 51200 102350 102400 204700
12 51200 102375 102400 204750 204800 409500
13 102400 204775 204800 409550 409600 819100
14 204800 409575 409600 819150 819200 1638300
15 409600 819175 819200 1638350 1638400 3276700

February 8, 2015

Drew fixed my two problems in minutes, like usual. For the ternary operator on classes, I just wasn't supposed to keep the word "if".

span{ class: (sp.result == 'l' ? 'negative' : 'positive') }

The comparisons are a bit more complicated. I need to set up a JSON with an array to compare to. It makes total sense, but I wouldn't have thought to do it on my own.

Cha cha cha changes

Changing up one small thing and one significant thing. I'm going to display the sessions in reverse order. When I add a new one it's silly to have to scroll past them all. The bigger thing is longer sessions.

In 15 sessions, the biggest bet was $6,400. While that was the last bet before disqualfying the MGM limits, there was one additional bet left for each of the others. It's time to push the system for some sessions to see where it breaks.

It didn't affect the session outcome because I was betting a new bet every time in rotation, but it had a 9 loss streak that would have made it impossible to bet the necessary amount at any of the casinos. With 9 losses, you need to be able to bet $25,600 but the most lenient allows for $20,000.

With a $20k cap, you'd have $45,550 invested and would win $40,000. The cap causes a $5,550 loss.
With a $10k cap, you'd have $22,750 invested and would win $20,000. The cap causes a $2,750 loss.
With a $15k cap, you'd have $40,550 invested and would win $30,000. The cap causes a $10,550 loss.

Imagine if you lost the max bet!

The $15k is clearly the worst loss, but you get to last one extra loss in that and the $20k. 8 losses in a row guarantees a financial loss at a $10k cap, 9 losses guarantees a financial loss at $15k and $20k caps.

February 10, 2015

Moving on to a new version:

Why

The purpose was to determine if it was possible to achieve a small number of wins before hitting a point in which the betting caps would force a loss. It's a small sample, but it is. In 20 sessions, the profit was $11,250. At this point, hitting the max bet but winning would still result in a profit. Hitting a the max bet is a whole other level of hurt.

More importantly, I'm now fascinated with other things in the numbers and I want to revamp what I'm showing. For one, I need 0 and 00 in the data. I'm comparing percentages of rolls incorrectly without them. Additionally, every time a set is completed there are 2 other winning sets. These can be compared as well to indicate how the bet decisions affected the outcome. Basically, there's a lot more data to dive into and it'll requre a new design. I really want to keep this version, though, to show what I learend. This is v1, onto v2.