home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / GA / GA006.ZIP / 1POKER.DOC next >
Text File  |  1988-09-06  |  8KB  |  177 lines

  1.                          POKER SOLITAIRE
  2.                                by
  3.                          Robert Gellman
  4.                        (C) Copyright, 1988
  5.  
  6.      This document file is totally unnecessary to playing the game
  7. of Poker Solitaire.  Feel free to stop reading and run the
  8. program.  All of the important instructions will be presented to
  9. you if you hit ENTER at the opening screen.  If you already know
  10. how to play, hit SPACE BAR at the opening screen and skip the
  11. instructions.  
  12.  
  13.      This file is meant to be read and is not specifically
  14. formatted for printing (no page breaks).  You won't want to read
  15. it more than once anyway.  But if you want to print it, load it
  16. into your word processor and set the margins for 10 and 75.
  17.  
  18.      Poker Solitaire is freeware.  Although the program is
  19. copyrighted, you may use it and copy it without restriction and
  20. without payment to me.  You are not authorized to make any changes
  21. to the program or to this document file.  You are permitted to
  22. redistribute the program through a software library for a 
  23. distribution fee that does not exceed eight dollars per disk.
  24.  
  25.  
  26.                           THE RULES
  27.  
  28.      The game itself is quite simple.  You will be offered 25
  29. playing cards one at a time from a randomly shuffled deck.  Place
  30. the cards in a 5 by 5 grid.  The objective is to make 12 poker
  31. hands.  There are five hands across, five hands down, and two
  32. diagonals.  If this is the least bit confusing, it won't be after
  33. you play the game once.
  34.  
  35.      Each of the 12 hands is then evaluated by the computer, given
  36. a score, and the scores are totalled.  The value of each poker
  37. hand is:
  38.  
  39.                Straight Flush           100
  40.                Four of a Kind            65
  41.                Straight                  55
  42.                Full House                45
  43.                Three of a Kind           30
  44.                Flush                     25
  45.                Two Pair                  15
  46.                One Pair                   5
  47.                Bust                       0
  48.  
  49.      Each hand is scored on the difficulty of actually making the
  50. hand and the cost of failure.  Thus, a straight has a higher value
  51. than a full house because a straight is hard to complete and
  52. because the cost of failure is high.  A failed straight usually
  53. ends up as a bust or a pair.  A failed full house, however, is
  54. either two pair or three of a kind.  Note also that a flush ranks
  55. below three of a kind.  Flushes are not that difficult to make.
  56.  
  57.      The program treats an ace as either a high or low card,
  58. whichever is most favorable.  This only matters in making a
  59. straight.
  60.  
  61.  
  62.                           STRATEGY
  63.  
  64.      Poker Solitaire is a game of choices.  The placement of
  65. each card opens some options and forecloses others.  This is
  66. especially true as the game progresses.  The basic strategy is to
  67. THINK AT ALL TIMES.  The game requires concentration!  Keep as
  68. many options open as possible for as long as possible.  Don't be
  69. too stubborn waiting the right card to appear.  Pay attention to
  70. the mix of cards remaining in the deck.  Remember that the
  71. diagonals count.  When choosing between two alternatives,
  72. consider the point values of the hands you are making and the
  73. values of the hands that you might make with the next card.
  74.  
  75.      A good score is anything in over 200.  Scores under 100 are
  76. pretty bad.  Scores over 300 are excellent.  The highest score I
  77. have made is 370, but it took an unbelievable run of good cards in
  78. a wonderful order to produce that score.  Bill C. has managed a
  79. score of 380, and together we produced a hand worth 400 on the
  80. replay of that hand.  Natural scores greater than 400 are highly
  81. unlikely but not impossible.  Scores over 500 seem only
  82. theoretically possible.  I can construct hands worth 900 points
  83. (4 straight flushes, 6 fours-of-a-kind, and two straights), but
  84. don't hold your breath.
  85.  
  86.      My own all-time score table no longer includes any scores
  87. below 300.  This is mostly the result of lots of playing and a
  88. fairly well developed strategy.  In fact, my strategy is good
  89. enough to support a consistent average in the range of 220-240. 
  90. If you can do better than this on a regular basis, let me know how
  91. you do it!
  92.  
  93.      Version 1.1 adds a replay facility to the game.  If the score
  94. on the current hand greater than 110 percent of your average
  95. score, you will be offered an opportunity to reply the same hand
  96. you just played.  The replay scores do not count in the daily or
  97. high-score table.  This game has SOME standards.  The replays are
  98. just for fun.  I have found that at least half of the time, the
  99. replay score is actually lower because you spend all of your time
  100. constructing a straight flush or other cute hand and neglect 
  101. other good hands.
  102.  
  103.  
  104.                            HISTORY
  105.  
  106.      There isn't much history to this program.  It's an old idea,
  107. but it is one of those games that is really suitable for a
  108. computer.  After all, who wants to sit and add up scores by hand? 
  109. I wrote the program in early August after seeing a similar game
  110. running as a live door on a bulletin board.  There have been
  111. several intermediate versions that were only seen by Bill C.
  112. (thank you, Bill!).  The current version is the second to be
  113. released.
  114.  
  115.      I had already written and released a program that plays draw
  116. poker.  The draw poker program (also freeware) is available
  117. through several software libraries and on finer bulletin boards
  118. everywhere.  There are several different versions floating around,
  119. ranging from POKER560 to POKER562.
  120.  
  121.      Since I already had a routine that evaluated poker hands and
  122. drew cards on the screen, this program was relatively easy.  I
  123. included the diagonal hands in the scoring, allowed aces to be
  124. high or low, and played around with the point values.  The values
  125. are, of course, totally artificial.
  126.  
  127.      
  128.                        TECHNICAL NOTES
  129.  
  130.      The program is written in Microsoft's QuickBASIC (version
  131. 4.00b) and uses a variety of programming tools from the PROBAS
  132. library.  PROBAS is a product of Hammerly Computer Services.  The
  133. program was written under DOS 3.1, but it should run under DOS 2.0
  134. or later.  I don't know the exact memory requirements, but 256K is
  135. definitely more than enough.  The program does not require color
  136. or graphics.  
  137.  
  138.      The program will maintain a high score table as a separate
  139. file (1POKER.HGH) on your default directory.  After the first hand
  140. of each session, you are asked if you want to create a high score
  141. file.  If you already have a high score file in your default
  142. directory, you are asked if you want the scores from the current
  143. session to be added.  This allows you to let your 8-year old
  144. brother play the game without worrying that he will wipe out your
  145. hard-earned high score achievements.
  146.  
  147.      This flexibility was included because I don't like programs
  148. that insist on writing high score files to my disk whether I want
  149. them or not.  Yet I find that some games are much better when a
  150. scoreboard is maintained.  When you play Poker Solitaire, you get
  151. to decide whether a high score table is worth the space it takes
  152. on your disk.
  153.  
  154.      Suggestions, comments, and feedback of any type are welcome. 
  155. If you don't like some feature of the program, feel free to
  156. complain.  I can't promise to make any changes that you recommend,
  157. but your suggestions will be considered.   My address appears on
  158. the second screen.
  159.  
  160.                               Robert Gellman
  161.                               August, 1988
  162.  
  163.  
  164. Version 1.00 - This is a full working version of the program
  165.                but does not include all of the planned bells
  166.                and whistles.  I am releasing it in this form
  167.                in the hopes of getting some feedback from
  168.                users.  
  169.  
  170. Version 1.1  - Lots of minor changes made and a few subtle errors
  171.  9/5/88        corrected.  The size of the high score file has
  172.                been reduced from 170 bytes to 150.  The value of
  173.                hands is now displayed on the main screen.  The
  174.                average score for the session is calculated and
  175.                displayed.  Screen displays have been revised and
  176.                refined.  The biggest addition is the opportunity
  177.                to replay the last hand.