home *** CD-ROM | disk | FTP | other *** search
/ Sunny 1,000 Collection / SUNNY1000.iso / Files / Dos / Sport / GOLF43.ZIP / README.TXT < prev   
Text File  |  1994-08-22  |  19KB  |  367 lines

  1. Version 4.3 August 22, 1994
  2.  
  3. This is a program to calculate the golf handicap of up to 255
  4. individuals who may have played on up to 255 courses.  It provides
  5. the ability to add players and courses.  These limits could be
  6. increased to 64k if desired.  It maintains a file of players
  7. and a file of courses, plus an individual game file for each player.
  8. There is no limit on the number of games, except any imposed by disk space.
  9. There is also a file "GOLF.INI" (Formerly Golfdefs) which saves context 
  10. between runs.
  11.  
  12. The program is easy to use.  It is invoked by executing the string
  13.     golf [hnn] [%nnn] [gnn] [an] [s+|s-]  
  14. where the square brackets shows the optional parameters.  No
  15. parameters are required, and the defaults are suitable for most
  16. users.  Within the brackets are the optional parameters, where the 
  17. first character gives the type of parameter, and the second gives the
  18. value. The defaults are equivalent to the standard USGA handicap rules
  19. for local handicaps on 18-hole golf courses.
  20. The defaults are equivalent to:
  21.     golf h18 %96 g20 a3 s-
  22. This translates to:  Calculate for 18 hole courses.
  23.                      Use 96% of differentials (adjusted gross - rated par)
  24.                      Use best half of last 20 games for handicapping
  25.                      Use "Rule 3" for adjusting gross scores
  26.                      Do NOT use slope in calculating handicaps.
  27. The limits on the numerical values are h18, %100, g20, a4.  And, of course,
  28. the s+ means to USE slope in the calculations, s- to NOT use slope.
  29. Of course, if one would like to have a "Universal" handicap, one could
  30. use the "s+" option, to take slope into account.  If one wishes
  31. to use the program for 9-hole courses, then "h9" would be
  32. appropriate.  Likewise "g12","a1" and "%100" would yield handicaps as
  33. suggested by Golf Digest. If ANY of the options are chosen, then it would 
  34. be advisable to put the calling sequence into a .bat file, to make sure it 
  35. is always called with the same sequence.  If it is to be used in more
  36. than one way, then it would be desireable to put the executable file
  37. (golf.exe) in a path statement, and set up a sub-directory for each
  38. of the different sequences.  Then a .bat file for each sequence
  39. would include changing to the appropriate directory, and executiing
  40. the golf.exe file with the appropriate parameters. For example, you
  41. might have:   9hole.bat                      18hole.bat
  42.                  cd 9hole                       cd 18hole  
  43.          golf h9            golf s+
  44. Then executing 9hole would work for a 9-hole league with "standard"
  45. handicaps, and 18hole would provide "universal" handicaps for normal
  46. 18 hole courses.
  47.  
  48. The Hcp is nn% of the average of the best (lowest) differentials between
  49. adjusted gross score and course rated par.  The adjusted gross score is
  50. the score resulting from reducing the score for any given hole in which a
  51. net score of more than a bogie was recorded (1973 rules). The 1993 rules
  52. changed this to a maximum of 6 plus hcp/10.  The change is incorporated
  53. for scores after 1992.     The percent nn is = 96 by default.  This is
  54. intended to reflect the standard usage by the USGA.  Golf Digest usually
  55. uses 100%.  This may be set on entry to the program.
  56.  
  57.  
  58.  
  59.           What you see when you start up
  60.  
  61. The opening screen shows the "Option Box" together with the values of
  62. the parameters being used (whether default or modified), the version
  63. number, and the suggestion to read this file.  The option is to be
  64. used is highlighted and may be selected by "Enter", or modified by
  65. use of up or down arrows before selection.  The initial option will
  66. be to Select Course.
  67.   Enter will take you the the "Courses Box" which will initially be
  68. empty except for the line " Add Course".  "Enter" will take you to a
  69. script for adding a course, asking for the name of the course, its
  70. rated par, slope, and the par for each hole.  If you don't want to
  71. add a course, you can exit with a left arrow or an alt-x.  The default
  72. par values for each hole is 4.  The up and down    arrows may be used to
  73. increment or decrement the value, while "Enter"    will accept the value.
  74. The back-arrow will take you back to the previous hole...useful in case
  75. of typos.  When the appropriate number of pars (default of 18) has been
  76. entered, the total card par will be displayed.  If it doesn't match the
  77. card, then one or more of the individual pars is probably wrong, so
  78. back arrow will get you back to    correct it.  "Enter" will accept it,
  79. and you will be prompted to answer Y or N for adding the course to the
  80. course file.  The course will become the "Selected" course, and displayed
  81. in the course box.  At any entry, you may press "Escape" to abort the
  82. process and return to the option box.
  83.  
  84. The "Enter" on the acception will return you to the Option box, with
  85. the hiline on "Select Golfer".  A similar scenario will allow you to
  86. enter a new golfer, together with an estimated handicap (Since no
  87. scores have been entered for him).  Again you will be returned to the
  88. option box.  From the option box you can go immediately to either the
  89. course box or the player box by using the right-arrow or left-arrow
  90. respectively (For the side of the option box on which it will appear).
  91.  
  92.   Next the high-lined option will be to post a score.  The score
  93. to be posted will be for the selected golfer on the selected course
  94. on the selected date (Default is today).  The Posting screen will
  95. show the Course name, Player name, Date, and a scorecard.  You will
  96. see the pars for each hole, and be invited to enter actual scores. 
  97. These may be entered with the use of the arrow keys as above.  The
  98. default values, however, are all par.  Note that the right arrow may
  99. be used in lieu of the enter key, so your fingers may remain on arrow
  100. keys throughout.  After entering the complete score, you will be
  101. prompted for a Y or N for accepting the score, and adding it to the
  102. players gamefile.  If you accept, it is added, and the new handicap
  103. using that score is calculated.  You will also notice the display of
  104. the adjusted score for each hole...based on the rule in use (USGA 1993 
  105. by default).
  106.  
  107.   This will return you to the option box with the next high-line
  108. set for Analysis.  Accepting that option will give you some
  109. statistics for the player on that course within the time interval
  110. requested of you.  The default time interval is from Jan 1 of the
  111. current year to the present date.  After seeing this display the
  112. option box will again be active, with "Quit" being active.  This
  113. selection will exit the program, with all files being closed.  Of
  114. course you could change to the option to select or add a player or
  115. course.
  116.  
  117.  
  118. Three options are NOT automatically popped up, since they are rarely
  119. used.  These include the two "View" options, which allow you to
  120. select the order of the displayed entries in the boxes (Golfer or Course)
  121. The view boxes also allow you to choose "Print" to print the chosen
  122. roster or course list in the selected order.  The selected order
  123. remains selected for subsequent entries to the golf program (Via a
  124. tiny GOLF.INI file, which also preserved the selected golfer and
  125. course...which is why you want all the files in the same directory).
  126.  
  127. The last option is "Edit" which will allow you to modify a game file. 
  128. By default, it will rename the selected gamefile (playrn) to playrn.bak,
  129. and then read that file, line by line, displaying each game, and either
  130. posting it (Enter), skipping it (Delete), or allowing entry of a new
  131. game (on the selected course) with (Insert).  If anything goes wrong
  132. here, the only recourse is to rename the game file (golfrn.bak) to
  133. golfrn.  This will restore the previous gamefile.  Note that if you
  134. have changed the parameters in the calling sequence, then Edit is a
  135. technique too re-calculate all handicap calculations for a given
  136. golfer.
  137.     Note that if you have renameed from golfrn.bak to golfrn, that
  138. there is still a file (Golfers) that has handicap information, and
  139. that is based on the (changed) golfrn that is now lost.  The only way
  140. to get this correct is to do the edit option again, without changing
  141. anything...i.e. just keep the enter key down till it finishes, and
  142. exits.  This will re-build the record in the golfers file that was
  143. messed up.
  144.  
  145.   G_file.exe (from G_file.pas) may also be used to edit files.  It
  146. converts the internal files to text files and back to internal.  They
  147. may be edited by any text editor in their text form, then
  148. re-converted.  Also an easy way to see what is in those files.
  149.  
  150.  If anyone wants to know what the "anti" handicap reported means, it
  151. is the same as a handicap calculation, but using the highest half of
  152. the scores, instead of the lowest half.  It shows how bad your bad
  153. games are!  The difference between the handicap and anti-handicap is
  154. a measure of the variability in your play.
  155.  
  156. The slope was incorporated in version 4.2.  The calculation is the
  157. multiplication of the differentials by 113/slope, where 113 represents
  158. the "average" slope, and the given slope is for the particular course.
  159. The use or non-use of the slope correction is optional, and may be set
  160. on entry. The default is NOT to use the slope correction, thus giving
  161. a "local" handicap, as opposed to a "universal" handicap.
  162.  
  163.  
  164. The program shows the last nn differentials , or all differentials, whichever is less
  165. (used in actual handicap calculations) with the ones used (Best half)
  166. highlighted.  A separate highlight shows the midpoint differentials which
  167. are the ones that are most likely to be replaced by a new one. The number
  168. of differentials to be used is optional, and may be set on entry.  The
  169. default is 20, which matches the USGA standards.
  170.  
  171. An option to set the number of holes was for the benefit of golfers who
  172. want to use 9-hole courses, or for such rarities as the Millwood, Mass
  173. course, which has 14 holes!
  174.  
  175. It is constantly under revision, as I think of things I would like to do
  176. with it...The next version will include adding some printouts.  I would
  177. have done it in this version, but my printer is not available at the
  178. present time for testing.
  179.  
  180. The adjusted gross scores (Also referred to as Equitable Stroke Control)
  181. can be calculated by one of three formulae, or not at all, as set on entry.
  182. The rules are:
  183.  
  184.            Rule 0
  185. No adjustment.  Use the actual strokes played on each hole.
  186.  
  187.        Rule 1
  188. The maximum on a given hole is Double Par for that hole.
  189.  
  190.            Rule 2  
  191. The maximum on a given hole is bogie plus (handicap div 18),
  192. plus another stroke for (handicap mod 18) holes.
  193. For a handicap of 22, this would mean that the golfer would be allowed
  194. 4 triple bogies, and 14 double bogies, since handicap div 18 = 1, and
  195. handicap mod 18 = 4.
  196.  
  197.        Rule 3
  198. A maximum on ANY hole is 6 + handicap div 10.  I.e., for a handicap
  199.    of 0 - 9,  maximum is 6
  200.      10 - 19, maximum is 7
  201.      20 - 29, maximum is 8
  202.  
  203.            Rule 4
  204. Use Rule 0 if year is earlier than 1973, use rule 2 if year in the
  205. range 1973-1992, and use rule 3 for 1993 and beyond.
  206.  
  207.  
  208.  
  209.           History
  210. 3.0 First version to be made available as Shareware.
  211.  
  212. 3.1 Removed 80x87 library functions, saving 12k memory.
  213.     Corrected return to option box after using left/right arrows.
  214.     Fixed the monochrome response to look decent.  (It was
  215.     originally    written for mono, but changed to color when I got an 
  216.     SVGA monitor).  Now its is OK on either.     
  217.  
  218. 4.0 Put in the 'View' capabilities to allow the selection of players
  219.     and courses to be from original lists or by sorted lists of
  220.     various kinds. (Currently: By original entry, alphabetically, 
  221.     alphabetic by surname or by handicap for player; original entry,
  222.     alphabetic, or by rated par for courses).
  223.  
  224. 4.1 Set up larger maximum windows, and increased the maximum number
  225.     of players and courses to 255 each (which could be easily raised
  226.     higher if that is found desirable.
  227.  
  228. 4.2 Optional inclusion of the "slope" in calculating of handicap.
  229.      (Not available in earlier versions)
  230.     Optional choice of number of holes per golf course.  This allows
  231.      the program to be used for 9-hole leagues, and for strange courses    
  232.      like Millwood in Mass. which has 14 holes.
  233.     Optional choice of number of holes to be used in calculating Handicaps.
  234.      The default number (20) is USGA standard, while 12 is used by Golf
  235.      Digest.
  236.     Optional choice of adjustment of scores by various rules (see above)  
  237.      The default is rule 3, which was used on the version 4.1.
  238.     Optional choice of Percent to modify differentials.  The default
  239.      is 96% which matches USGA handicaps.  100% matches Golf Digest.
  240.     Improvement on score entering.  Now a back-arrow during the entry
  241.      of the hole-by-hole scores will back off to previous hole, for
  242.      correction of erroneous entries (must be done before completing)
  243.  
  244. 4.3 Improvements in entering data.  Now a back arrow of any
  245.     hole-by-hole entry will back off to the previous hole.  It may also
  246.     be used in place of a backspace when entering names of players or
  247.     courses and a typo has been made.  Further, an alt-x during any entry
  248.     will take one to the "Quit" option, which should be used for exiting
  249.     the program to properly close all files as currently constituted.
  250.     The escape key will abort the entry process in the current option.
  251.  
  252.     Options were added to print player rosters and course lists.
  253.     The Analysis now includes display of Best, Worst and Last games.
  254.     The program was made more robust by using more I/O checking.
  255.     Finally, an error was found in the summing of the hole-by-hole
  256.     scores to arrive at the total for the game (Blush!)  That was fixed.
  257.     It was introduced accidentally in version 4.2.
  258.  
  259.  
  260. If you become a registered user, I will send you the latest update, 
  261. and will include the source code (in Turbo Pascal).
  262.  
  263. If you have any suggestions, or complaints (Heaven forbid!) I would
  264. appreciate a note.  I may be reached via Compuserve, (70673,3070), but
  265. I confess to not checking the mail there as regularly as I should.
  266. Or, you may write to the address below.
  267.  
  268. The program itself is NOT cluttered with reminders, nudges, etc. to send it
  269. in, so if you choose not to do it, I will probably never know, and you will
  270. not be bothered.  If, however, you feel it appropriate to register, I will
  271. send you (along with latest version), some of the auxiliary programs I have
  272. used in developing this, along with their source codes. 
  273.  
  274. There are a number of files that will be generated.  GOLF.INI keeps
  275. track of the last course and golfer, so that upon program entry,they will
  276. become the defaults.  COURSES keeps all the courses, along with the pars
  277. and the rated par for the course.  GOLFERS keeps the list of golfers, 
  278. together with their last (up to 20) games, and their current handicap.
  279. There is also a GOLFRx file for each golfer, which has ALL his games
  280. that have been recorded, on any course that he played (And entered in the
  281. program, of course). Because of the generated files, the user would
  282. be well advised to create a separate directory for the golf programs
  283. (Any name will do, but GOLF or GOLFHCP seem like good choices).  Then
  284. if you ever want to start over, or simply get rid of the whole thing,
  285. you can just delete everything in the directory. 
  286.  
  287. To run the program, simply copy the executable file to an appropriate
  288. (empty?) directory and execute it.  It will generate the appropriate
  289. default files and await your entry of golf courses, and players.  After
  290. such entries, it will prompt for hole by hole scores for selected courses
  291. and players. On completion of a score, it will compute a handicap
  292. for the player.  It will use the single score for the first computation
  293. and the lowest half (of up to 20 scores) for the rest.  It will display
  294. the differentials used, with the low half in red, the medians in blue
  295. and the high ones in black.  You will note the scores per hole will use
  296. a similar scheme to show under par, par and over par scores.
  297.  
  298. Shortcuts, and options are shown at the bottom of the screen.
  299. These principally include the option of <Escape> during the entry of data
  300. such as names or scores to exit the particular operation. The use of
  301. <Enter> will accept a default value for integer entries.
  302.  
  303. The default values for dates match the current date, while the default
  304. for hole-by-hole scores are the pars for the current holes.  When
  305. entering pars for a new course, the default value is 4. The default
  306. value may be accepted (by <Enter>) or may be increased (by 1) by a
  307. press of up-arrow, or decreased by pressing down-arrow.
  308.  
  309. Registered users will receive a diskette with the latest version,
  310. including the Pascal source files, as well as any new utilities that
  311. I find useful in generating the program.  Thes include things like
  312. changing files such as 'courses' from the format prior to 4.2 to the
  313. 4.2 format, which now includes the slope rating.
  314.  
  315. Included in the present 4.3 ZIP file is the G_FILES.exe program
  316. which  can convert the golfers, courses and game files from the
  317. random access (for speed and compactness) to text files (for
  318. editing?) and back.
  319.  
  320.  
  321.                              REGISTRATION FORM
  322.  
  323.         Mail to:  James W. Butler
  324.                   90 Appleyard Lane
  325.                   Holliston, MA, 01746-2539
  326.  
  327.         Enclosed is the price of one greens fee ($10.00 minimum) at my
  328.  
  329.         Home course of    _______________________________________
  330.         
  331.         Name              ________________________________________
  332.  
  333.         Street Address    ________________________________________
  334.  
  335.         City/State,Zip    ________________________________________
  336.  
  337.         When you register, you will receive the latest registered
  338.         version of Golf.., as well as a few other utilities, along 
  339.         with the Pascal source code.  You will be free to use the
  340.         source in any way, except marketing it without written 
  341.         permission, or without acknowledging the source.
  342.         Please indicate your preferred type of IBM diskette.
  343.  
  344.         Preferred disk type:     5.25"     3.5"
  345.         High Density, or 2S/DD 
  346.  
  347.         To help with distribution, we would like to know where you
  348.         obtained your copy of Golf... Please specify the online service
  349.         (GEnie, CompuServe, etc.), BBS, shareware distributor, or other
  350.         source where you obtained your copy of Golf...
  351.  
  352.         I obtained Golf__ from   ___________________________________
  353.  
  354.         ___________________________________________________________
  355.  
  356.         If you have one, please give your online address (Internet,
  357.         or CompuServe address).
  358.  
  359.         Online address    ________________________________________
  360.  
  361.         Thanks for registering Golf..!
  362.  
  363.             James W. Butler
  364.             Compuserve:  70673,3070
  365.             Internet:  70673.3070@compuserve.com
  366.  
  367.