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

  1.  
  2.  
  3.  
  4.                              W O R D S M I T H
  5.  
  6.                               by Fender Tucker
  7.  
  8.  
  9.     WORDSMITH is taken from an old game from one of the very first
  10. LOADSTARs.  In fact, Knees Calhoon is the guy who took it.  He uses
  11. "dictionary 9400" which is a handy file full of almost all of the four- and
  12. five-letter words in the English language.   In the game Knees will present
  13. a word and then challenge you to create a new, real word from it by changing
  14. one (and only one) letter.  Then you and Knees take turns doing this until
  15. one of you can't find a word.
  16.  
  17.     The original WORDSMITH worked because the dictionary it used was very
  18. small.  Since this version has a fairly good dictionary I decided to skew
  19. the game a little in your favor.  The only way Knees can win is if:
  20.  
  21.  (1) You can't find a real word so you press F7, but Knees finds one.
  22.  
  23.     You, on the other hand, can win in three ways:
  24.  
  25.  (1) Knees can't find a word, or
  26.  
  27.  (2) You can't find a word (so you press F7), but Knees also can't find a
  28.      word, or
  29.  
  30.  (3) You make it to Word #200.
  31.  
  32.     As with most of my games like this, it asks you for your name.  This is
  33. so that anyone who plays the game can have their own scores file.  To keep a
  34. running total, just use the same name.  To clear a file, scratch it or just
  35. use another name.  There are just a couple of blocks free on this side of
  36. LOADSTAR 128 #25.  Each scores file takes up 1 block so please don't play
  37. too many games under different names or you'll get a "disk full" error.
  38. It's always a good idea to copy a LOADSTAR program to a disk with plenty of
  39. blocks free.
  40.  
  41.     There are two modes to the game: four-letter and five-letter.  The five-
  42. letter game may actually be easier because you probably won't get into a
  43. marathon game as you can in the four-letter mode.  The program keeps track
  44. of your stats for both modes and displays them when you select SEE YOUR
  45. SCORES from the menu.  You, of course, are trying to win more than you lose.
  46. The AVERAGE TIME is the time it takes to decide to press F7, indicating that
  47. you can't come up with a word.  You are rewarded by deciding swiftly and
  48. penalized if it takes you a long time.  You are given a RATING based upon
  49. this formula:
  50.  
  51.   RATING = ((GAMES WON-GAMES LOST)*1000)/AVERAGE TIME
  52.  
  53. so you'll have a positive rating if you have won more than you have lost;
  54. negative if you have lost more than you've won.  To really get a high rating
  55. you have to have a low AVERAGE TIME.  I'd be interested in hearing how high
  56. you are able to get your RATING.
  57.  
  58.     To switch to another player, select NEW PLAYER from the Main Menu.
  59.  
  60.     The play screen shows Knees' words on the left and yours on the right in
  61. big letters.  When it's your turn move the cursor with the CRSR RIGHT or
  62. LEFT keys to the letter you want to change and press the letter you want it
  63. changed to.  If it's a word in Knees' dictionary, it's his turn.  If it's
  64. not a word, or if the word has been used before in the same game, you will
  65. be told and the word disallowed.
  66.  
  67.     You can look at the list of words used so far by pressing F1.  Your
  68. words will be highlighted (except for maybe the last one).
  69.  
  70.     Knees has a diabolically incomplete vocabulary, especially with four-
  71. letter words.  He knows thousands of words, including some strange ones, but
  72. may surprise you by not knowing something simple.  That's all part of the
  73. game.
  74.  
  75.     The only strategy I can think of is to use oddball letters like J, Q, X
  76. or Z whenever possible, hoping that there won't be another word to follow.
  77. After you've played a few games you might memorize some patterns that can
  78. lead to a win.  Winning by the 200-word rule is a possibility but I wouldn't
  79. try it often.  It's almost impossible in the five-letter game.  The best way
  80. to get a high RATING is to be accurate when you decide there are no words
  81. (and press F7), and be quick about it.  If you ponder all of the 26*4 (or 5)
  82. possibilities before pressing F7 you'll have a positive rating, but a low
  83. one.
  84.  
  85.  DISCLAIMER AND APOLOGY
  86.  ----------------------
  87.  
  88.     Finally, I was able to find a potential bug in the dictionary program
  89. when it's called over and over as it is in this game.  Everytime it's
  90. called, between 200 and 400 bytes of variable space are used up in BANK1.
  91. Since the dictionary file takes up 25K or so of BANK1, variable space is
  92. less than usual.  Sooner or later, space will run out and garbage collection
  93. will take place.  This is ordinarily no problem -- the C-128 does it VERY
  94. FAST.  But the bug shows up (in the form of garbage characters) if space
  95. runs out WHILE the dictionary routine is being called.  It can't handle
  96. garbage collection.
  97.  
  98.     I think I have come up with a way to keep the bug from happening.  When
  99. variable space gets below 500 bytes I have the program create some dummy
  100. variables, FORCING garbage collection.  This prevents the garbage collection
  101. from happening during the dictionary routine.  I tried using FRE(1) to force
  102. garbage collection but it didn't stop the bug.  If you do somehow get
  103. garbage on the screen (or an abrupt crash), please accept my apologies and
  104. reset and reRUN the program.  Only the last game will be lost.
  105.  
  106.     I think this is a great vocabulary-building game.  I hope you like it
  107. and can soundly defeat Knees Calhoon over and over again.
  108.  
  109. FT
  110.  
  111.                     \\\\\ R - Run    RETURN - Menu \\\\\
  112.  
  113.