bjstrat.net HOME

I'm making this program available on the internet just to see if I could do this. It was developed using Internet Explorer and it utilizes JavaScript. In Internet Explorer - Tools Menu/Internet Options/Security Tab/Internet Zone/Custom Level - locate Microsoft VM and make sure Java Permissions are enabled. It may work in other browsers, but I don't know for sure. I used JavaScript rather than VB Script because I thought there would be a greater chance of it working outside of Internet Explorer. From what I understand, most browsers support JavaScript, but there may be some small differnces in each browser's interpretation of the language. RUN BASIC STRATEGY ENUMERATION PROGRAM

11-08-2005 - It seems the only browser in which the program functions properly may be Internet Explorer. If the visual elements and text seem not to line up, click the View Menu/Text Size and select a smaller text size.

11-15-2005 - Code was revised so that program may run in Firefox and possibly other browsers.

If you suspect an error or want to make a comment, you can email me at kc@bjstrat.net


Instructions

   Required inputs       1. Number of decks (1 to 41297762) - click in box and input directly       2. At least 1 card to player. There are presently no keyboard shortcuts, so you must use the mouse.          To deal an ace to the player, click on the button labeled "1".          To deal a 2 click on the button labeled "2" and so on. Each click on a numbered button adds another card.          To remove the last card dealt to player, click on the button labeled "Undeal".          To remove all the cards in player's hand, click on the button labeled "Reset".    Dealer up card and dealer soft standing number       Chosen from the drop-down lists labeled "Dealer up card" and "Dealer soft stand num" located at top right

   Setting Rules options       You can set any combination of rules options that you wish.             Doubling                DOA - doubling is allowed on any total                D10_11 - doubling is allowed only on totals of hard 10 or 11                D9_11 - doubling is allowed only on totals of hard 9, 10, or 11                D10_11_SOFT - doubling is allowed only on totals of hard 10 or 11 or any soft total                D9_11_SOFT - doubling is allowed only on totals of hard 9, 10, or 11 or any soft total                DHARD_ONLY - doubling is allowed only on any hard total                DAN - if this box is checked, doubling is allowed on 2 or more cards                      (otherwise restricted to 2 cards)             Splitting                DAS - if this box is checked, doubling is allowed after a pair has been split                Allow hit split aces - if this box is checked, drawing multiple cards to split aces is allowed                   (otherwise 1 card is allowed to split aces)                Allow dbl after split aces - if this box is checked, doubling after splitting aces is allowed                   (This option is disabled unless both "DAS" and "Allow hit split aces" are checked)                MaxSpA - maximum splits allowed vs up card of ace (choice has no effect on strategy)                Max2_10 - maximum splits allowed vs up cards 2 through 10 (choice has no effect on strategy)             Surrender                NS - if this box is checked no surrender is allowed, otherwise surrender is allowed on original hand                    - it must be unchecked to enable the other surrender options for up cards of ace and 10                      LSA_10 - late surrender is allowed vs both up cards (ace, 10)                      LSA_ES10 - late surrender is allowed vs ace, early surrender vs 10                      ESA_LS10 - early surrender is allowed vs ace, late surrender vs 10                      ESA_10 - early surrender is allowed vs both up cards (ace, 10)             Hole card rule                NONE - if this option is chosen, only player's original bet is at risk if dealer has blackjack                ENHC - if this option is chosen, all bets lose to dealer's blackjack (splits & doubles at risk)

   After inputs are completed, click the button labeled "Get Strategy" to display basic strategy in the "Player strategy" field.

    RUN BASIC STRATEGY ENUMERATION PROGRAM

bjstrat.net HOME