home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 25 / q25.d81 / t.blackjack < prev    next >
Text File  |  2022-08-28  |  3KB  |  54 lines

  1.  
  2.  
  3.  
  4.                              B L A C K J A C K
  5.  
  6.                               by Edward Rainey
  7.  
  8.  
  9.     Back on LOADSTAR 128 #22 we published Jon Mattson's super-utility
  10. CONTROL80-C, a version of his popular CONTROL80 that has a special font
  11. tacked onto it that makes programming card games much easier.  At that time
  12. we challenged readers who dabbled in programming to use CONTROL80-C to
  13. produce a card game.  Edward Rainey of Jacksonville FL answered our
  14. challenge even though it was technically the first big program he's ever
  15. written.  He's not a stranger to LOADSTAR 128, however; he revamped VIDEO
  16. CRAPS from LS 128 #20 into an 80-column program and it was published on LS
  17. 128 #122.
  18.  
  19.     For his first card game he decided to tackle BLACKJACK, a game familiar
  20. to just about anyone who plays cards.  It's a game where you play against
  21. the dealer, trying to get as close to 21 as possible without going over.
  22. The instructions to simple BLACKJACK are in the program where you can get to
  23. them at any time.  The reason I say "simple BLACKJACK" is that there are
  24. some rules for casino-style BLACKJACK that aren't supported by the program.
  25. There is no "splitting" of a hand when the first two cards dealt to the
  26. player are the same.  There is also no "double-down" where you can increase
  27. your bet as a hand progresses.
  28.  
  29.     You begin by making a bet from your $2000 grubstake.  Then you and the
  30. dealer are dealt two cards.  If you want another card press H for "Hit".
  31. When you're satisfied with your cards press S for "Stand".  Then the dealer
  32. plays his hand, standing only on 16 or higher.  If you have a higher total
  33. than the dealer, you win the amount of your bet.  If you "bust" (go over 21)
  34. the dealer wins without having to play at all.
  35.  
  36.     There's another way of winning.  If you are dealt five cards (three
  37. "hits" plus the original two) without going over 21, this is known as a
  38. "five card Charlie" and you win.  The dealer can also win the same way.
  39.  
  40.     If you can amass $10,000 the dealer will quit in disgust and ask you to
  41. move on -- just like in a real casino.  If you lose your $2000, you'll be
  42. asked to beg, steal or borrow some more so you can play again -- just like
  43. in a real casino.
  44.  
  45.     It's a fast game.  Ed has written a clean, streamlined program that
  46. shows that with the right tools, a beginning programmer can produce
  47. something really nice.  Check out the docs for CONTROL80-C on LS 128 #22 and
  48. maybe you'll be the next LOADSTARite to make the big time.
  49.  
  50. FT
  51.  
  52.                    \\\\\ R - Run    RETURN - Menu \\\\\
  53.  
  54.