Results 1 to 13 of 43

Thread: Javascript simulation with graphs

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member BackCounter's Avatar
    Join Date
    Dec 2023
    Location
    Northern California
    Posts
    32


    Did you find this post helpful? Yes | No

    Here it is

    The problem was in the hole card selection. It was based on a regular deck and that threw everything off. Now based on the deck with the current count, the 8,8 vs 10 graph looks like the one in the Hi-Lo book. And the variance does not go up as fast.

    88vs10.jpg

    ramp3.png

    Risk-averse indices from graphing CE rather than EV (note 10 vs 10):

    10v10.jpg

    10v10_ra.jpg

    The graphs do look a little wobbly; will probably need to do more iterations at the expense of more time.

    Can't get away from generating deck patterns without one sim taking 5-10 hours for the high counts. The program walks through a deck and when it gets to the appropriate count, saves the pattern: deck position and the number of -1, 0, and +1 cards on each side. Any number of decks can be created from the pattern, with the actual cards shuffled and redistributed. Using integer counts, the deck position has to be a multiple or simple fraction of 52; for high counts, there are not very many patterns. But it seems to work; the results look the same as finding a new deck for every iteration.

    For those who are interested . . . .

    -BC

  2. #2


    Did you find this post helpful? Yes | No
    Quote Originally Posted by BackCounter View Post
    And that my sim only used decks with actual integer counts; they had not been floored.
    This seems like an obvious bias to me.

    Quote Originally Posted by BackCounter View Post
    I thought about using decks with a range of counts, all floored to the same integer, but that seemed like it would be less accurate.
    Why would you think that? This is exactly what happens during actual live play.

    Going back to this comment ...
    Quote Originally Posted by BackCounter View Post
    The program walks through a deck and when it gets to the appropriate count, saves the pattern: deck position and the number of -1, 0, and +1 cards on each side. Any number of decks can be created from the pattern, with the actual cards shuffled and redistributed. Using integer counts, the deck position has to be a multiple or simple fraction of 52
    I see another source of bias. Namely that you also need to sample a variety of penetrations for each true count. A true count of X at penetration P1 is not the same as a true count of X at penetration P2. Furthermore, the probability of true count X is not the same at all penetrations. You need to sample them at all possible penetrations at the rate at which they would naturally occur. This (and more) is why representative decks do not generate accurate results.

Similar Threads

  1. simulation help?
    By Meistro123 in forum General Blackjack Forum
    Replies: 9
    Last Post: 05-24-2018, 02:28 PM
  2. Any JavaScript or JQuery gurus here?
    By DBJT in forum Software
    Replies: 4
    Last Post: 12-24-2013, 08:01 AM
  3. CVBJ Graphs ?
    By RS in forum General Blackjack Forum
    Replies: 3
    Last Post: 01-27-2013, 12:13 PM
  4. Norm Wattenberger: 21,890 graphs added to CVCX Online
    By Norm Wattenberger in forum Blackjack Main
    Replies: 2
    Last Post: 07-25-2005, 03:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About Blackjack: The Forum

BJTF is an advantage player site based on the principles of comity. That is, civil and considerate behavior for the mutual benefit of all involved. The goal of advantage play is the legal extraction of funds from gaming establishments by gaining a mathematic advantage and developing the skills required to use that advantage. To maximize our success, it is important to understand that we are all on the same side. Personal conflicts simply get in the way of our goals.