July 4, 1990 Documentation for BJ (Blackjack) This (not another Blackjack program) was written to show the usefulness of my graphics libraries. While is defaults to VGA, it may be used from EGA through the enhanced VGA modes. It defaults to mode 18 (12 hex), but to cause it to use another mode (at least EGA) merely enter it as the command line option. i.e. BJ 16 will cause it to use mode 16 (10 hex) and come up on an EGA monitor. Generally, any mode between 640 X 350 and 1024 X 768 that is supported by your system should be acceptable as a display mode. For instance with the Orchid Pro-designer and a MultiSync-3D, modes 16/18/41/45/46/48/55 are acceptable. While it basically follows the "standard" Blackjack rules, no attempt is made to utilize some of the finer points of the game, for instance "splitting" or "doubling". The "sound" routines were optimized for a fast '386 machine and my appear lengthy on a slower machine. Using the program should be self explanatory if you have a basic understanding of the game. It accepts up to four players and will ask for the names. When a single is entered for a name, it uses what names it has up to then and plays with that many players. It then asks for the bets. You are given $500.00 to start the game and you are not allowed to bet more than the remaining amount at any play. When your bankroll drops to zero, the play continues without you. When a "?" appears below a hand, it is asking if you want a hit. while it is asking, depressing a "1" causes a hit while anything else assumes you are done. If you already have blackjack, it assumes that you don't want a "hit" and skips you. If the dealer has blackjack, all players are skipped. When the question mark appears in the lower-left corner of the screen, it is asking if you want to continue. An causes an exit and anything else continues. When the program is first started, it looks for extended memory. If none is present, it won't run, otherwise it obtains 30 pages. It then draws all the cards, saving them in expanded memory. It does this for faster operation. When a blackjack has occurred or when 50 cards have been dealt from the deck, a re-shuffle occurs. If you want more information, You will have to get in touch with me. The easiest way is to write me at the address shown on the copyright notice, otherwise call me at 201-329- 3216. My graphic/memory-management/mouse/joystick libraries are quite extensive and complete. They are Microsoft "C" compatible. They are available for sale to all who need libraries of this sort. Paul Warner 205 Raymond Rd.. Princeton, NJ 08540