home *** CD-ROM | disk | FTP | other *** search
/ Games Encyclopedia / gamesencyclopedia1995.iso / casino / blkjack1 / bj.txt < prev    next >
Text File  |  1988-12-04  |  39KB  |  1,057 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                        BLACKJACK STRATEGY  (version 1.1)
  7.                       (copyright 1985, 1988, David Fibush)
  8.                               A SHAREWARE PROGRAM
  9.  
  10.  
  11.  
  12.           TABLE OF CONTENTS                               PAGE
  13.  
  14.           1.0 Getting Started                               2
  15.                1.1 Option Menus                             2
  16.                1.2 Basic Play                               2
  17.  
  18.           2.0 Changing Options                              4
  19.                2.1 House Rules (first menu)                 4
  20.                2.2 Point Count Weights (first menu)         5
  21.                2.3 Play & Display Options (second menu)     5
  22.  
  23.           3.0 Manual Bet Inputs                             7
  24.  
  25.           4.0 Shuffle                                       8
  26.  
  27.           5.0 Deal                                          8
  28.  
  29.           6.0 Play                                          8
  30.                6.1 Insurance                                8
  31.                6.2 Player's Blackjack                       8
  32.                6.3 User Play                                9
  33.                6.4 Dealer Play                             10
  34.                6.5 End of Play                             10
  35.                6.6 End of Game                             10
  36.                6.7 Data Summary and Exit Options           10
  37.  
  38.           7.0 Strategy                                     11
  39.                7.1 Hard Hands                              11
  40.                7.2 Soft Hands                              12
  41.                7.3 Hands That Can Be Split                 12
  42.                7.4 Surrender                               12
  43.  
  44.           8.0 Bugs and Fixes                               12
  45.  
  46.           9.0 Copyright and Shareware Registration         14
  47.  
  48.          10.0 Disclaimer                                   14
  49.  
  50.          11.0 Product Support                              14
  51.  
  52.          APPENDIX A. Basic Rules of BlackJack              15
  53.  
  54.          APPENDIX B: Bibliography                          16
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.      1.0 GETTING STARTED
  73.  
  74.      System requirements: IBM PC, 128K, Mono or graphics display
  75.  
  76.      Your master disk contains the following files:
  77.  
  78.           BJ.EXE main program for the blackjack game.
  79.  
  80.           STRATEGY.DTA strategy data used by the program.
  81.  
  82.           OPTIONS.DTA options data used by the program.
  83.  
  84.           BJ.DOC this documentation file in MS Word format.
  85.  
  86.           BJ.TXT this documentation file in ASCII format.
  87.  
  88.      Only the first two files are needed to run the program. The program
  89.      will create an OPTIONS.DTA file if it does not exist. STRATEGY.DTA is
  90.      a text file which can be created or modified with any text editor
  91.      however you must use the exact original as a template.
  92.  
  93.      To protect your BLACKJACK STRATEGY game you should always operate
  94.      using a working copy of the program disk. Use the following procedure
  95.      to make the working copy.
  96.  
  97.        1. Format a blank disk. Include your operating system if you wish to
  98.           boot your computer from the work copy.
  99.  
  100.        2. With your master disk in drive a: and the formatted disk in drive
  101.           b: copy all programs from the master to the work copy using the
  102.           command     Copy a:*.* b:
  103.  
  104.        3. Place your work copy in drive a: and at the prompt  A>  type the
  105.           command   BJ <carriage return>.
  106.  
  107.  
  108.      1.1 OPTION MENUS
  109.  
  110.      As soon as the program has loaded into computer memory you will see
  111.      the first option menu (shown in figure 1) which displays the House
  112.      Rules and Point Count Weights data from the file OPTIONS.DTA. If you
  113.      do not wish to change the options enter 0 <carriage return> or just
  114.      <carriage return> to continue to the Play & Display Options menu
  115.      (shown in figure 2). Again you may enter 0 if you wish to go directly
  116.      to the game without changing any options. Use the original default
  117.      conditions to start playing the game immediately and become familiar
  118.      with its operation.
  119.  
  120.  
  121.      1.2 BASIC PLAY
  122.  
  123.      With the original default conditions you are the third player at a
  124.      five player table, bets are automatically made at 10 units so you need
  125.      only play your hand. Press F1 for a display of the possible actions.
  126.      See section 6.0 for detailed playing instructions.
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.             *** HOUSE RULES ***            *** POINT COUNT WEIGHTS ***
  140.  
  141.              * DEALER PLAY *                  11. Weight for  A = -1
  142.       1. Dealer hits soft 17         N        12. Weight for  2 =  0
  143.                                               13. Weight for  3 =  1
  144.               * SPLITTING *                   14. Weight for  4 =  1
  145.       2. 1 card only on split Aces   Y        15. Weight for  5 =  1
  146.       3. Allow split of unlike 10s   N        16. Weight for  6 =  1
  147.       4. Allow more than 1 split     Y        17. Weight for  7 =  1
  148.                                               18. Weight for  8 =  0
  149.               * DOUBLING *                    19. Weight for  9 =  0
  150.       5. Allow double on split       Y        20. Weight for 10 = -1
  151.       6. Allow double 10 and 11 only N        21. Weight for  J = -1
  152.       7. Allow double on 3+ cards    N        22. Weight for  Q = -1
  153.                                               23. Weight for  K = -1
  154.            * DECKS & SHUFFLE *
  155.       8. Number of Decks             6
  156.       9. Shuffle Percent            80
  157.  
  158.              * SURRENDER *
  159.      10. Allow surrender             N
  160.  
  161.      Item to change or 0 for no change _
  162.  
  163.                          Figure 1.  First Menu
  164.  
  165.  
  166.                    ***  PLAY & DISPLAY OPTIONS  ***
  167.  
  168.              * TYPE OF PLAY *                      * DISPLAY *
  169.      1. Position     6  5  4  3  2  1   10. 1st card down on autoplay  N
  170.            User ?    N  N  N  Y  N  N   11. Player hand point count    Y
  171.      2. Number of Players           5   12. Player present bet size    Y
  172.      3. Manual bets for player      N   13. Player present holdings    Y
  173.      4. Speed of play (1 to 20)    10   14. Number of cards not dealt  Y
  174.                                         15. Number of hands played     N
  175.            * GENERAL VALUES *           16. Size of dealer's bank      N
  176.      6. Number of Hands           100   17. Point count of cards shown N
  177.      7. Basic bet size             10   18. Record of decisions made   N
  178.      8. Initial player holdings  1000   19. Sound on                   Y
  179.      9. Strategy file    STRATEGY.DTA
  180.  
  181.                                         20. Return to House Rules menu
  182.  
  183.      Item to change or 0 for no change
  184.  
  185.                          Figure 2.  Second Menu
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.      2.0 CHANGING OPTIONS
  205.  
  206.      When each menu is displayed you may change a value by entering the
  207.      corresponding item number. You are then prompted to enter either a
  208.      value or a yes/no response. A carriage return will give the default
  209.      value. The menu is then reprinted showing the new value and you may
  210.      enter more changes or continue to the next step. If you have made any
  211.      changes they may be saved before the game starts.
  212.  
  213.  
  214.      2.1 HOUSE RULES (first menu)
  215.  
  216.                          * DEALER PLAY *
  217.  
  218.      Option 1. Dealer Hits Soft 17 - this gives an advantage to the house
  219.      since there is a good chance to improve the hand. If this is set to
  220.      "N" the dealer will hit all 16s and stand on all 17s.
  221.  
  222.                           * SPLITTING *
  223.  
  224.      Option 2. Allow 1 Card Only on Split Aces - split aces are a powerful
  225.      hand, some casinos will only give you one card for each hand in this
  226.      case.
  227.  
  228.      Option 3. Allow split of unlike 10s - this means you can split a
  229.      combination like Jack - Queen. Although this might seem to be an
  230.      advantage it is never advisable to split 10s as 20 is a very good
  231.      hand.
  232.  
  233.      Option 4. Allow more than 1 split - definitely an advantage to the
  234.      player hence limited to one split by some casinos. In Blackjack
  235.      Strategy the maximum amount of splits is two with five or less players
  236.      and only one split with six players due to screen size limitations.
  237.  
  238.                           * DOUBLING *
  239.  
  240.      Option 5. Allow double on split - this gives an improved advantage to
  241.      the player since you only double if you have a good chance to win. If
  242.      this is set to "N" a double is not allowed on split hands.
  243.  
  244.      Option 6. Allow split on 10 and 11 only - many casinos have this
  245.      restriction.
  246.  
  247.      Option 7. Allow split on 3 or more cards - a fairly unusual option of
  248.      considerable advantage to the player.
  249.  
  250.                       * DECKS & SHUFFLE *
  251.  
  252.      Option 8. Number of decks - a number between 1 and 10 as determined by
  253.      the house management. Some casinos have tables with different numbers
  254.      of decks. The smallest number of decks is advantageous to "card
  255.      counters" however when one deck is used it is often shuffled about
  256.      half way through to limit the counter's advantage.
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.      Option 9. Shuffle percent - the point in the deck which triggers the
  271.      next shuffle when a hand is completed. Generally around 80% for
  272.      multiple decks and as low as 50% for a single deck. You may select a
  273.      value between 50% and 99%.
  274.  
  275.                        * SURRENDER *
  276.  
  277.      Option 10. Allow surrender - you may surrender your original hand for
  278.      one-half of your bet. This action takes place after the dealer has
  279.      checked for a blackjack when your turn to play comes. This is
  280.      advantageous to the player with a bad hand when the dealer has a high
  281.      card showing.
  282.  
  283.  
  284.      2.2 POINT COUNT WEIGHTS (first menu)
  285.  
  286.      Options 11 through 23 on the first menu allow you to set the weight
  287.      for each card in a suit to be used for card counting. The weights
  288.      chosen will depend on the system you wish to use, see the bibliography
  289.      for reference material. Blackjack Strategy will keep track of the
  290.      point count and either display it continuously or momentarily at your
  291.      request.
  292.  
  293.  
  294.      2.3 PLAY AND DISPLAY OPTIONS (second menu)
  295.  
  296.                          * TYPE OF PLAY *
  297.  
  298.      Option 1. User Inputs - Each of the active player positions (there can
  299.      be up to 6) will be played either automatically by the computer or
  300.      manually by you, the user. By setting just one position to "Y" you
  301.      simulate an actual game where you are playing that position. Note that
  302.      positions are numbered from right to left which is the dealing order
  303.      at the blackjack table. If you wish to play more than one position for
  304.      more practice at making play decisions then set the desired number of
  305.      positions to "Y".
  306.  
  307.      For completely automatic play set all the positions to "N" and the
  308.      computer will play all the hands. This allows you to sit back and
  309.      watch or let the computer play a few thousand hands to evaluate the
  310.      automatic strategy or one of your design.
  311.  
  312.      Option 2. Number of Players - Values from 1 to 6 are allowed. Due to
  313.      screen space limitations, splitting a second time can only take place
  314.      if there are 5 or less players. You would be surprised how common this
  315.      can be if you are using 6 to 10 decks. Other numbers of active
  316.      positions are available to suit your desired playing conditions.
  317.      Remember you can manually play any or all of the positions.
  318.  
  319.      Option 3. Manual Bets for Players - If you want to modulate your bets
  320.      set this to "Y". In that case you will have to supply a bet input for
  321.      each position you are playing. Bets must be multiples of 2. When
  322.      placing your bet a <carriage return> gives the value of the Basic Bet
  323.      if desired. When Manual Bets is set to "N" the computer automatically
  324.      bets the Basic Bet each time.
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.      Option 4. Speed of Play - A value which controls the speed of the
  337.      game. The highest speed will play about 3000 individual player hands
  338.      per hour with all positions in automatic play which is useful for
  339.      evaluating different strategies. The slower speeds will help you learn
  340.      to count cards. Try different numbers to get the effect you like.
  341.  
  342.                     * GENERAL VALUES *
  343.  
  344.      Option 6. Number of Hands - This specifies the number of hands that
  345.      will be played before the program automatically stops and offers an
  346.      exit point or various continuation possibilities. Large numbers are
  347.      useful for evaluating strategies or just not being bothered with
  348.      restarting the game. There are interrupt methods to access the exit
  349.      options at the end of each hand or at any point in the game you have
  350.      the following control possibilities:
  351.  
  352.          Control-S stops action, hit any key to restart.
  353.          Control-C quits the game and returns to the operating system.
  354.  
  355.      Option 7. Size of Basic Bet - bet size to be used if no manual input
  356.      is given. This value must be a multiple of 2.
  357.  
  358.      Option 8. Initial Player Holdings - this is how much money each player
  359.      starts with. Don't lose more than you can afford.
  360.  
  361.      Option 9. Strategy File Name - If you have a number of different
  362.      strategies you may select the desired one. The program will check to
  363.      see if the file exists but you are responsible to insure that the data
  364.      is all correctly located in the file.
  365.  
  366.                     * DISPLAY OPTIONS *
  367.  
  368.      Various values can be displayed on the screen as the game is in
  369.      operation. A setting of "Y" displays them and a setting of "N" keeps
  370.      them off. Each is described below.
  371.  
  372.      Option 10. First card down on automatic play - For a more realistic
  373.      (but less informative) display you can have the first card dealt down
  374.      on hands you are not playing. At the appropriate times (bust, end-of-
  375.      hand, etc) the card will be shown with a delay so you can see what it
  376.      was. If you are using this option it would make a more realistic
  377.      situation to set option 11, hand point count, to "N".
  378.  
  379.      Option 11. Hand count values - this will show the point value of each
  380.      hand just above the first card as play progresses. Turn this off if
  381.      you are doing some serious practicing.
  382.  
  383.      Option 12. Bet size - shows the present bet value for each player.
  384.  
  385.      Option 13. Player holdings - shows how much money each player has.
  386.      "There's time enough for counting when the dealings done". Unless you
  387.      are about to run out and want to double or split. (The bank will
  388.      "lend" you the money as negative holdings are possible)
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.      Option 14. Cards not dealt - a graphical display that shows the number
  403.      of quarter-decks used and those that have not been dealt. The
  404.      exclamation point indicates the quarter-deck that contains the shuffle
  405.      trigger point.
  406.  
  407.      Option 15. Number of hands played - shows the number of hands played.
  408.  
  409.      Option 16. Size of dealer's bank - shows the amount of money in the
  410.      dealer's bank. The dealer starts with 10,000.
  411.  
  412.      Option 17. Point count of cards shown - a continuous display of the
  413.      sum of the weights of all cards whose faces have been displayed since
  414.      the previous shuffle. This value is available on a momentary basis if
  415.      requested by the player during play of a hand.
  416.  
  417.      Option 18. Record of decisions made - each action taken by the user-
  418.      player is compared against the strategy. If the action does not agree
  419.      with the strategy the computer will beep to let you know of your
  420.      "error". A running count of the actions and percent correct may be
  421.      displayed.
  422.  
  423.      Option 19. Sound on - the beep described in option 18 may be turned on
  424.      or off.
  425.  
  426.  
  427.      3.0 MANUAL BET INPUTS
  428.  
  429.      If you have selected the option for manual bet inputs a screen similar
  430.      to figure 3 will be displayed at the start of each hand. Only even
  431.      numbers from 2 to 100 will be accepted. The figure shows that Player 1
  432.      bet 20, Player 2 bet 10 and Player 3 is being asked for a bet value.
  433.      The function keys allow easy input for multiples of the basic bet.
  434.      Push F1 for a help menu.
  435.  
  436.                                        Deck [..*****************!****]
  437.                  Place your bets.
  438.                 Multiples of 2 only.
  439.  
  440.          Player 4        Player 3        Player 2        Player 1
  441.  
  442.  
  443.  
  444.                         Your bet?
  445.  
  446.  
  447.                                           Bet=10          Bet=20
  448.          Hold=355        Hold=780        Hold=600        Hold=1255
  449.  
  450.                        Figure 3.   Manual Bet Screen
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.      4.0 SHUFFLE
  469.  
  470.      This is automatic at the start of the game, if the end of the deck is
  471.      reached during a hand or and when the cards left with the dealer at
  472.      the end of a hand are less than the calculated amount based on the
  473.      Shuffle Percent (see option 9 in the first menu). Also there will be a
  474.      shuffle if there are not enough cards left for 4 per hand to be played
  475.      including the dealer. Each shuffle is a computer representation of
  476.      cards randomly chosen from the decks to be used. Cards are then placed
  477.      in that order to be used until the next shuffle.
  478.  
  479.  
  480.      5.0 DEAL
  481.  
  482.      Cards are dealt in the usual order. The first card to the dealer is
  483.      shown "down" as are the first cards to automatically played hands (if
  484.      that option is chosen), all the rest are up. After the cards are dealt
  485.      various optional values are displayed, such as, hand number, player
  486.      bets, etc.
  487.  
  488.  
  489.      6.0 PLAY
  490.  
  491.      6.1 INSURANCE
  492.  
  493.      If the dealer is showing an Ace, all user controlled hands are asked
  494.      if they would like insurance. Acceptable responses are:
  495.  
  496.                     F9 or Y or y for Yes
  497.                     F10 or N or n for No
  498.  
  499.      Insurance is a side bet for an amount equal to one-half the present
  500.      bet on the hand. If the dealer has a blackjack, insurance pays 2 to 1
  501.      hence you break even if your hand (say a 20) would have lost to the
  502.      dealer's 21. At that point the screen is cleared and a new hand is
  503.      dealt.
  504.  
  505.  
  506.      When the dealer does not have a blackjack you lose your side bet and
  507.      play continues. Automatically played hands do not take the insurance
  508.      bet.
  509.  
  510.  
  511.      6.2 PLAYER'S BLACKJACK
  512.  
  513.      Any players that have blackjack are immediately paid at 1.5 to 1 and
  514.      their first card is shown, if necessary, and then the cards removed
  515.      from the "table".
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.      6.3 USER PLAY
  535.  
  536.      If hand point count values are to be shown it will be displayed at the
  537.      top of the hand in the form "NN H" for hard hands or "NN S" for soft
  538.      hands. As the individual hand is played the value will be updated as
  539.      an aid in decision making. The hand values are also displayed on
  540.      automatically played hands.
  541.  
  542.      The user is then asked to make play decisions based on their cards and
  543.      the allowed possibilities by answering the prompt "Action" with the
  544.      following choices available:
  545.  
  546.        F1 displays a one line help display of these responses.
  547.  
  548.        F2 or E or e to go to the exit options at the end of the hand.
  549.           Normal play continues.
  550.  
  551.        F3 or L or l  for look which will momentarily display the decision
  552.           programmed into the strategy. This is like learning from flash
  553.           cards, you can always look at the answer if needed.
  554.  
  555.        F4 or V or v to view the hand count value. This is of interest if
  556.           the hand count option is off. It simulates asking the dealer for
  557.           the count.
  558.  
  559.        F5 momentarily displays the card count based on the weighting system
  560.           being used.
  561.  
  562.        F6 or Q or q to surrender (or quit) only with the original hand if
  563.           that action is allowed by the house rules.
  564.  
  565.        F7 or Y or y will split the hand. If the player has a "pair" they
  566.           may be split and played as two hands with the same bet required
  567.           on each hand as the original bet. When the hand is split each
  568.           hand is played separately. If a second pair were to be dealt on
  569.           either hand and a second split is allowed (provided there are 5
  570.           or less player positions) and then there are three hands played
  571.           for that position.
  572.  
  573.        F8 or D or d  for double when allowed by the house rules. If this is
  574.           selected the bet is doubled and only one more card is dealt to
  575.           that hand.
  576.  
  577.        F9 or H or h  for hit which deals another card to the hand.
  578.  
  579.        F10 or S or s  for stand which ends the decision process for that
  580.           hand.
  581.  
  582.      Following the action determined by the decision the hand value is
  583.      calculated. If the total is greater than 21 the hand is bust which is
  584.      indicated in the hand value location and the cards are removed from
  585.      the "table" after first showing any down card. If the total is 21 or
  586.      less, further action is requested in the case where the previous
  587.      action was a hit.
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.      Since all this action happens automatically if no user positions have
  601.      been specified there is another "escape" to the exit options. If you
  602.      hold the space bar or any other key down during the end of the hand
  603.      you will interrupt the action and move to the exit options by entering
  604.      a <carriage return> when requested by the program.
  605.  
  606.  
  607.      6.4 DEALER PLAY
  608.  
  609.      After all hands are played the dealer's hand is played. First the down
  610.      card is shown then the dealer hits 16 and stands on hard or soft 17
  611.      depending on the house rules option setting.
  612.  
  613.      6.5 END OF PLAY
  614.  
  615.      Each hand still active (not blackjack or bust) is compared to the
  616.      dealer's to determine win, lose or push. Player's holdings and the
  617.      bank are adjusted accordingly.
  618.  
  619.  
  620.      6.6 END OF GAME
  621.  
  622.      New hands will continue to be dealt until the hand count reaches the
  623.      maximum set by the options. Shuffling will occur as needed. Once the
  624.      hand count maximum is reached a summary of the data for that run of
  625.      hands will be displayed along with the exit options.
  626.  
  627.  
  628.      6.7 DATA SUMMARY AND EXIT OPTIONS
  629.  
  630.      Figure 4 shows the data summary and exit options. The highest, lowest
  631.      and final holdings are shown for each player along with the hand at
  632.      which those holdings occurred and the "efficiency" at that point.
  633.      Efficiency is defined as winnings divided by the total amount bet
  634.      expressed as a percentage. This calculated value can be used to
  635.      evaluate the quality of your strategy as modified by the "laws of
  636.      chance". The values shown are typical for the built in strategy
  637.      contained in the file STRATEGY.DTA.
  638.  
  639.      At this point you have three exit options:
  640.  
  641.        [E]nd the game and return to the operating system.
  642.  
  643.  
  644.        [N]ew options  essentially restarts the game by returning to the
  645.           options screen and resetting the hands played to 0.
  646.  
  647.        [P]rint will send a copy to the data summary to your line printer.
  648.  
  649.        c/r <carriage return> will continue the play until the maximum
  650.           number of hands is reached or on a hand-by-hand basis if the
  651.           hands are already at the maximum.
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.         DATA SUMMARY              Strategy file name = STRATEGY.DTA
  667.  
  668.                  Player 6  Player 5  Player 4  Player 3  Player 2  Player 1
  669.      Highest
  670.      holdings       2015      1800      1735      1920      1710      2075
  671.      at hand        6036      1586      2028      1496      2023      4243
  672.      efficiency    1.39%     4.19%     3.02%     5.11%     2.93%     2.10%
  673.  
  674.      Lowest
  675.      holdings        865       285       135       590       -70       740
  676.      at hand          40      5764      5547      5843      5482       129
  677.      efficiency  -26.47%    -1.03%    -1.30%    -0.58%    -1.63%   -16.56%
  678.  
  679.      Final
  680.      holdings       1920       530       635       785       250      1415
  681.      at hand        6140      6140      6140      6140      6140      6140
  682.      efficiency    1.24%    -0.64%    -0.50%    -0.29%    -1.02%     0.56%
  683.  
  684.      Total Amount Won   =    -465           Total decisions =       0
  685.      Total  Amount Bet   =  443250          Total correct   =       0
  686.      Total Hands Played =   37671           Percent correct =  100.00%
  687.      Overall Efficiency =  -0.10%
  688.  
  689.      [E]nd game, [N]ew options, [P]rint summary, or c/r to continue
  690.  
  691.                Figure 4. Data Summary and Exit Options
  692.  
  693.  
  694.      7.0 STRATEGY
  695.  
  696.      The strategy used for automatic play (and as a prompt if you "look"
  697.      before making your decision point) is determined by characters in a
  698.      text file approximately shown in figure 5. You may change the
  699.      controlling characters with a text editor but it is critical that each
  700.      one be in the correct location for proper operation. Make a copy of
  701.      STRATEGY.DTA under some other name and then use your text editor in
  702.      the overwrite mode. The name of the new file may then be entered under
  703.      option 9 of the second menu or you may rename the altered file to the
  704.      default name STRATEGY.DTA for use by the program. Each table has the
  705.      dealer up card values across the top and player hand values shown on
  706.      the left and in the middle. Action determining characters are <S>tand,
  707.      <H>it, <D>ouble, <Y>es do split and <Q>uit as in surrender.
  708.  
  709.      If no strategy file exists on the disk a "dumb strategy" of hit 16 or
  710.      less, stand on 17 or more will be used.
  711.  
  712.  
  713.      7.1 HARD HANDS
  714.  
  715.      These are hands that do not contain an Ace valued at 11. If they
  716.      contain only two cards or if a double is otherwise allowed by the
  717.      house rules the right side of the first table is used. Only player
  718.      values down to 4 need to be considered as lower values must contain an
  719.      Ace and would be determined in the second table.
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.      7.2 SOFT HANDS
  733.  
  734.      These hands contain 1 Ace valued at 11 which could be reduced to 1 if
  735.      the subsequent hit were to cause a "bust". Only values down to 12 need
  736.      to be considered as 2 Aces is the lowest soft hand.
  737.  
  738.  
  739.      7.3 HANDS THAT CAN BE SPLIT
  740.  
  741.      In this table the "Y" stands for, yes do split. The other characters
  742.      indicate the action of choice rather than split and are assumed to be
  743.      <N>o in automatic operation. Only even values for the player
  744.      considered as they are all pairs. The only soft pair is 2 Aces.
  745.  
  746.  
  747.      7.4 SURRENDER
  748.  
  749.      "Q" for quit is used for surrender to differentiate it from the other
  750.      choices. When the "Q" occurs in the table it will be interpreted as an
  751.      "H" if surrender is not allowed by the house rules option setting.
  752.      Therefore you do not want to put a "Q" in a location that should be
  753.      split, double or stand except when actually using the surrender
  754.      option.
  755.  
  756.  
  757.      8.0 BUGS AND FIXES IN VERSION 1.1
  758.  
  759.           1. Printed data summary shows "overall efficiency = 0%" when it
  760.              should be something else. (fixed)
  761.  
  762.           2. If you have used the exit command the dealer takes his cards
  763.              up too quickly to see. (fixed)
  764.  
  765.           3. On manual played hands when player declines insurance and
  766.              dealer wins the bet is not collected from the player. (fixed)
  767.  
  768.           4. Doesn't always beep on a strategy error. Example is hit a pair
  769.              of nines. (not fixed)
  770.  
  771.           5. One-deck shuffle at 75% occasionally causes screen to go crazy
  772.              during the shuffle. (not found)
  773.  
  774.           6. When using a strategy which never doubles or splits, more is
  775.              bet than the expected 10% per hand. (fixed relates to 3 above)
  776.  
  777.           7. When entering bets manually the first digit of the user input
  778.              does not show on the screen but is entered. (fixed)
  779.  
  780.           8. Deck meter (upper right hand corner of display) now expanded
  781.              to full length for all numbers of decks.
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.          HARD HANDS                  Dealer Shows
  800.  
  801.             |....Can not Double........|      |.........Can Double.......|
  802.      Player 2  3  4  5  6  7  8  9 10  A      2  3  4  5  6  7  8  9 10  A
  803.         21  S  S  S  S  S  S  S  S  S  S  21  S  S  S  S  S  S  S  S  S  S
  804.         20  S  S  S  S  S  S  S  S  S  S  20  S  S  S  S  S  S  S  S  S  S
  805.         19  S  S  S  S  S  S  S  S  S  S  19  S  S  S  S  S  S  S  S  S  S
  806.         18  S  S  S  S  S  S  S  S  S  S  18  S  S  S  S  S  S  S  S  S  S
  807.         17  S  S  S  S  S  S  S  S  S  S  17  S  S  S  S  S  S  S  S  S  S
  808.         16  S  S  S  S  S  H  H  Q  Q  Q  16  S  S  S  S  S  H  H  Q  Q  Q
  809.         15  S  S  S  S  S  H  H  H  Q  Q  15  S  S  S  S  S  H  H  H  Q  Q
  810.         14  S  S  S  S  S  H  H  H  Q  Q  14  S  S  S  S  S  H  H  H  Q  Q
  811.         13  S  S  S  S  S  H  H  H  H  H  13  S  S  S  S  S  H  H  H  H  H
  812.         12  H  H  S  S  S  H  H  H  H  H  12  H  H  S  S  S  H  H  H  H  H
  813.         11  H  H  H  H  H  H  H  H  H  H  11  D  D  D  D  D  D  D  D  D  H
  814.         10  H  H  H  H  H  H  H  H  H  H  10  D  D  D  D  D  D  D  D  H  H
  815.          9  H  H  H  H  H  H  H  H  H  H   9  H  D  D  D  D  H  H  H  H  H
  816.          8  H  H  H  H  H  H  H  H  H  H   8  H  H  H  H  H  H  H  H  H  H
  817.          7  H  H  H  H  H  H  H  H  H  H   7  H  H  H  H  H  H  H  H  H  H
  818.          6  H  H  H  H  H  H  H  H  H  H   6  H  H  H  H  H  H  H  H  H  H
  819.          5  H  H  H  H  H  H  H  H  H  H   5  H  H  H  H  H  H  H  H  H  H
  820.          4  H  H  H  H  H  H  H  H  H  H   4  H  H  H  H  H  H  H  H  H  H
  821.  
  822.         SOFT HANDS                   Dealer Shows
  823.             |....Can not Double........|      |.........Can Double.......|
  824.      Player 2  3  4  5  6  7  8  9 10  A      2  3  4  5  6  7  8  9 10  A
  825.         21  S  S  S  S  S  S  S  S  S  S  21  S  S  S  S  S  S  S  S  S  S
  826.         20  S  S  S  S  S  S  S  S  S  S  20  S  S  S  S  S  S  S  S  S  S
  827.         19  S  S  S  S  S  S  S  S  S  S  19  S  S  S  S  S  S  S  S  S  S
  828.         18  S  S  S  S  S  S  S  H  H  H  18  S  D  D  D  D  S  S  H  H  H
  829.         17  H  H  H  H  H  H  H  H  H  H  17  H  D  D  D  D  H  H  H  H  H
  830.         16  H  H  H  H  H  H  H  H  H  H  16  H  H  D  D  D  H  H  H  H  H
  831.         15  H  H  H  H  H  H  H  H  H  H  15  H  H  D  D  D  H  H  H  H  H
  832.         14  H  H  H  H  H  H  H  H  H  H  14  H  H  H  D  D  H  H  H  H  H
  833.         13  H  H  H  H  H  H  H  H  H  H  13  H  H  H  D  D  H  H  H  H  H
  834.         12  H  H  H  H  H  H  H  H  H  H  12  H  H  H  H  H  H  H  H  H  H
  835.  
  836.      HANDS THAT CAN SPLIT            Dealer Shows
  837.             |......Player Hard.........|      |.......Player Soft........|
  838.      Player 2  3  4  5  6  7  8  9 10  A      2  3  4  5  6  7  8  9 10  A
  839.         20  S  S  S  S  S  S  S  S  S  S  20
  840.         18  Y  Y  Y  Y  Y  S  Y  Y  S  S  18
  841.         16  Y  Y  Y  Y  Y  Y  Y  Y  Y  Y  16
  842.         14  Y  Y  Y  Y  Y  Y  H  H  H  H  14
  843.         12  H  Y  Y  Y  Y  H  H  H  H  H  12  Y  Y  Y  Y  Y  Y  Y  Y  Y  Y
  844.         10  D  D  D  D  D  D  D  D  H  H  10
  845.          8  H  H  H  H  H  H  H  H  H  H   8
  846.          6  H  H  Y  Y  Y  Y  H  H  H  H   6
  847.          4  H  H  Y  Y  Y  Y  H  H  H  H   4
  848.  
  849.                      Figure 5.  Strategy Text (approximate)
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.      9.0 COPYRIGHT and SHAREWARE REGISTRATION
  865.  
  866.      BlackJack-Strategy is copyright 1985, 1988 by David K. Fibush.
  867.  
  868.      The BlackJack-Strategy (Program) is protected by copyright laws and is
  869.      a proprietary product of J.P. Enterprises and David K. Fibush. This is
  870.      a shareware program. If you received this program from a source other
  871.      than J.P. Enterprises you are expected to send the $15 registration
  872.      fee to:
  873.                          J.P. Enterprises
  874.                          3877 Hancock Drive
  875.                          Santa Clara, CA 95051
  876.  
  877.  
  878.      10.0 DISCLAIMER
  879.  
  880.      Use of this program acknowledges this disclaimer of warranty:
  881.  
  882.              The Program is supplied "as-is". J.P. Enterprises
  883.              disclaims all warranties, expressed or implied,
  884.              including, without limitation, the warranties of
  885.              merchantability and of fitness of this program for any
  886.              purpose. J.P. Enterprises does not warrant that the
  887.              functions contained in the Program will meet your
  888.              requirements or that the operation of the Program will
  889.              be either error free or appear precisely as described
  890.              in the Program documentation. J.P. Enterprises assumes
  891.              no liability for damages direct or consequential,
  892.              which may result from the use of this program.
  893.  
  894.  
  895.      11.0 PRODUCT SUPPORT
  896.  
  897.      This program has been thoroughly tested. If you find the program does
  898.      not work as described in this documentation, or if you have
  899.      suggestions for improvements, please write to:
  900.  
  901.                     David K. Fibush
  902.                     J.P. Enterprises
  903.                     3877 Hancock Drive
  904.                     Santa Clara, CA 95051
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.      APPENDIX A. Basic Rules of BlackJack
  931.  
  932.      A.1  THE OBJECT OF THE GAME: The player attempts to beat the dealer by
  933.           obtaining a total of cards equal to or less than 21, such that
  934.           the player's total is higher than the dealer's. Note that the
  935.           idea is to BEAT THE DEALER, not get as close as possible to 21.
  936.  
  937.      A.2  NUMBER OF PLAYERS: Generally the game has a dealer and one to
  938.           seven players. BlackJack-Strategy allows up to six players.
  939.  
  940.      A.3  NUMBER OF DECKS: One to six decks are common. "Card counters"
  941.           prefer a one deck game.
  942.  
  943.      A.4  VALUE OF CARDS: Each card has the same value as its spots except
  944.           for the ace and picture cards. All 10s and picture cards are
  945.           counted as 10. The ace can be valued as either 1 or 11, at the
  946.           option of the player. A hand containing an ace that can be
  947.           counted as 11 (that is, by counting the ace as 11, the hand does
  948.           not exceed 21) is called a "soft" hand. All other hands are
  949.           "hard" hands.
  950.  
  951.      A.5  THE DEAL: Each player is dealt two cards in sequence, one at a
  952.           time, either face-up or face-down, depending on the rules of the
  953.           house. The dealer's card that is face-up is referred to as the
  954.           "up-card" and the value of this card is the key piece of
  955.           information used to determine the playing strategy. Additional
  956.           cards to the players are dealt face-up, one at a time based on
  957.           the players choices during the play.
  958.  
  959.      A.6  BLACKJACKS: If the first two cards dealt to a player are an ace
  960.           and a ten-valued card, the player has a blackjack and receives
  961.           one and one-half times his original bet. If the dealer has a
  962.           blackjack and the player does not, the player loses the total of
  963.           his original bet. If both the player and the dealer have a
  964.           blackjack, the hand is a tie or a "push". In most casinos and in
  965.           BlackJack-Strategy, hands with a blackjack are settled
  966.           immediately.
  967.  
  968.      A.7  HITTING OR STANDING: A player may draw as many cards as he wants,
  969.           as long as his total does not exceed 21. "Hitting" is when a
  970.           player asks for an additional card and "Standing" is when no
  971.           additional cards are requested.
  972.  
  973.      A.8  BUSTING: If the player's cards exceed a total of 21, he has
  974.           "busted" and loses the hand regardless of the dealer's total. If
  975.           the dealer busts, all players who have not busted win the hand.
  976.  
  977.      A.9  TIES: If the player and the dealer have the same total, the hand
  978.           is a tie or a "push". No money settlement takes place.
  979.  
  980.      A.10 DEALER'S PLAY: The dealer must draw cards until he has a total of
  981.           17 or above. In some casinos the dealer may hit a soft 17 in
  982.           others he must stand on any 17.
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.      A.11 DOUBLING DOWN: In most casinos a player may double the amount of
  997.           his bet after looking at his first two cards. He then receives
  998.           only one additional card. Many casinos allow doubling only on
  999.           totals of 10 or 11, some allow doubling on any hand.
  1000.  
  1001.      A.12 SPLITTING PAIRS: If the player's two cards are identical in
  1002.           value, the player may "split" them by betting an amount equal to
  1003.           his original bet on the second card. Each card is then played as
  1004.           a separate hand except that if aces are split, only one
  1005.           additional card is allowed on each ace. Some casinos allow
  1006.           splitting only once and some up to three times, for a total of
  1007.           four hands. BlackJack-Strategy allows splitting two times (three
  1008.           hands) when there are five players or less in the game. With six
  1009.           players BlackJack-Strategy only allows splitting once for each
  1010.           player.
  1011.  
  1012.      A.13 INSURANCE: If the dealer's upcard is an ace, the player may make
  1013.           a side bet called an insurance bet. The amount of the side bet
  1014.           may be as much as one-half of the original bet. If the dealer has
  1015.           a blackjack the casino will pay two to one on the insurance bet,
  1016.           therefor, the player loses his hand but wins on insurance and
  1017.           "breaks even" if he bet the maximum amount on the side bet. If
  1018.           the dealer does not have blackjack, the insurance bet is lost and
  1019.           the play of the hand continues. In BlackJack-Strategy an
  1020.           insurance bet is always one-half of the original bet. (This is
  1021.           why only even numbers are allowed for bets, it the keeps numbers
  1022.           as integers.)
  1023.  
  1024.      A.14 SURRENDER: The player may surrender his original hand for one-
  1025.           half of the bet. This action takes place after the dealer has
  1026.           checked for a blackjack when your turn to play comes.
  1027.  
  1028.  
  1029.      APPENDIX B: Bibliography
  1030.  
  1031.      1.   R. Baldwin, W. Cantey, H. Maisel , and J. McDermott, "The Optimum
  1032.           Strategy in Blackjack", Journal of the American Statistical
  1033.           Association, 51, 429-439, (1956).
  1034.  
  1035.      2.   L. Revere, Playing Blackjack as a Business, Lyle Stuart, Inc.,
  1036.           New York, (1973).
  1037.  
  1038.      3.   L. Revere, The Revere Advanced Point Count Strategy, Paul Mann
  1039.           Publishing Co, Las Vegas, Nevada (1973).
  1040.  
  1041.      4.   E.O. Thorp, Beat the Dealer, (2nd edition), Random House, New
  1042.           York (1966), also in paperback Vintage Books, (1966).
  1043.  
  1044.      5.   E.O. Thorp and W. Walden, "The Fundamental Theorem of Card
  1045.           Counting", International Journal of Game Theory, 2, 2, (1973).
  1046.  
  1047.      6.   C. Ionescu Tulcea, A Book on Casino Blackjack, Pocket Books, New
  1048.           York, (1982).
  1049.  
  1050.      7.   K. Uston, Million Dollar Blackjack, SRS Enterporises Inc,
  1051.           Hollywood, California, (1981).
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.