home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 19 / q19.d81 / t.blotto < prev    next >
Text File  |  2022-08-28  |  7KB  |  145 lines

  1.  
  2.                                   B L O T T O
  3.  
  4.                   Featuring the LS 128 #19 BLOTTO CONTEST!!!
  5.  
  6.                                by Fender Tucker
  7.  
  8.  
  9.      BLOTTO is the first of what I hope is a long string of word games for
  10. the C-128.  It uses a file called "dictionary 9400" which is a collection of
  11. four- and five-letter words, as well as some ML tools for accessing the
  12. words.  Jeff Jones wrote the ML, which is detailed in Zero Page on this
  13. issue.  If you've ever thought about writing a word game on computer, read
  14. Zero Page!  It's easier than ever, thanks to "dictionary 9400".
  15.  
  16.      BLOTTO is a simple game to play, but will challenge your vocabulary. 
  17. It works on any drive you boot it up on.  The Menu has four options:
  18.  
  19.      START A NEW BLOTTO
  20.      PLAY AN OLD BLOTTO
  21.         INSTRUCTIONS
  22.      RETURN TO LOADSTAR
  23.  
  24. The last two are self-explanatory.  The first time you try BLOTTO choose the
  25. first option.  You go to the game screen where there is a 15 x 6 grid of big
  26. letters with a white, blank row between the third and fourth rows.  The idea
  27. is to move the purple cursor (which stays on the blank row) to a column and
  28. scroll the letters in that column up or down, placing a letter in the white
  29. row.  Once you get a five-letter word displayed in the white row, press
  30. RETURN and if it's a real word (according to the dictionary) the letters are
  31. removed from the grid and the word is listed in the green box on the right
  32. of the screen.
  33.  
  34. NOTE: BLOTTO works with keyboard or joystick in Port #2.  The FIREBUTTON
  35. works just like a RETURN.  If you encounter a (y/n) question, pressing the
  36. FIREBUTTON registers a "no" response, so you'll need to press the Y key on
  37. the keyboard to answer "yes".
  38.  
  39.      As soon as you choose option One, you're asked if you want to save the
  40. grid as a "Tournament".  A Tournament is simply a game which hasn't been
  41. played yet.  If you answer "yes" the grid is saved with a "trn.00." prefix
  42. and BLOTTO continues.  This way you can challenge other players to beat your
  43. score for that Tournament.
  44.  
  45.      The options for the game screen are:
  46.  
  47.  Help - same as instructions.
  48.  
  49.  Quit - takes you to the Menu.  Make sure you save your game first if you
  50.         want to keep it!
  51.  
  52.  Load - brings up a file requestor of all of the BLOTTO games on the disk,
  53.         Tournaments as well as saved games.  This will wipe out the game in
  54.         progress, so save your current game first if you want to keep it.
  55.         Press the ESC key to leave the file requestor without loading
  56.         anything.  A BLOTTO game takes up 2 to 4 blocks.  Leave your BLOTTO
  57.         disk in the drive at all times.
  58.  
  59.  Save - asks you for a prefix for the game file.  You only have three
  60.         letters so I recommend using your initials.
  61.  
  62.  Toggle Sound - toggles the sound on and off.
  63.  
  64. NOTE: Filenames all follow this format:
  65.  
  66.   Tournament Game - "trn.00.zzzzzzzzz" where the z's represent the first
  67.     nine letters of the top row of the grid.
  68.  
  69.   Saved Game - "xxx.yy.zzzzzzzzz" where the x's are your initials, the y's
  70.     the number of words in the green box at the time of saving, and the z's
  71.     the first nine letters in the top row of the grid.
  72.  
  73.      The words you find MUST be five letters long.  The letters must be in
  74. order, left to right, but they do NOT have to be adjacent to each other.  I
  75. haven't worked out any strategy other than trying to use letters in the
  76. outer columns first, and trying to come up with words that have only one
  77. vowel -- at least at the beginning.
  78.  
  79. YET ANOTHER NOTE: If the word you find isn't in the dictionary, you get a
  80. message that asks "Accept it anyway? (y/n)".  It's up to you to decide if
  81. the dictionary is wrong.  I admit that I left a couple of normal words out
  82. of the dictionary when I pared it down -- "fable" for example.  Upgrades of
  83. the dictionary will have an improved list of words, and maybe even a way for
  84. you to add words to the dictionary.  In general, plurals made by adding "s"
  85. to four-letter words aren't found in the dictionary.  It's up to you to
  86. allow them or not.
  87.  
  88.      I "weighted" the letters so that vowels and common letters like T, N,
  89. L, R, H and S show up more often than Z, X, V, Q and J.  Even still, I find
  90. that I run out of vowels before I run out of consonants.
  91.  
  92.      You can put a word back in the grid if you change your mind.  Notice
  93. that when you move the purple cursor off the grid to the right or left, it
  94. goes to the green box (if there are any words in the green box).  Move the
  95. cursor up or down in the green box and press RETURN on the word you want to
  96. put back in the grid.  The letters will go back in the same rows from where
  97. they came.
  98.  
  99.      There are all sorts of ways that this program could be upgraded but I
  100. wanted to get it out to show how simple it is to use "dictionary 9400".  One
  101. of the biggest advantages of a computer is its ability to do fast searches
  102. of data.  People expect a computer program to be able to tell if a
  103. five-letter combination is truly a word, and now your C-128 can.  I'm
  104. looking forward to getting some incredibly clever word puzzles from the
  105. incredibly clever programmers out there.  Be sure to read Zero Page on this
  106. issue and who knows?  Maybe you'll be that incredibly clever programmer?
  107.  
  108.      By the way, how do you like the big letters?  As a fontmaniac I found
  109. it pretty easy to implement them.  Feel free to borrow the font ("blotto
  110. font") and the BASIC lines that define them (line 890 and lines 2540-2810).
  111. When you want to print a big letter, just print b$(letter number).  For
  112. instance, b$(1) is A and b$(26) is Z.  You'll need to use two fonts since
  113. this font doesn't have normal characters (except reversed upper case
  114. letters).  In lines 2540-2810 the rr(x) part of the line concerns the
  115. "weighting" of the letters.  You probably won't need this if you use the big
  116. font in your program.
  117.  
  118.      You may change the colors of the background tile, menu boxes and
  119. instructions by changing the variables in line 12.  "cf" is color of
  120. foreground; "cb" is color of background; and "cs" is color of the shadow. 
  121. To save your choice of colors, make sure you run BLOTTO first, break out of
  122. it with RUN-STOP/RESTORE, then enter GOTO 10000.  Do not GOTO 10000 unless
  123. CONTROL80 is installed.  You can tell by checking to make sure that line 70
  124. says "fcopy14336,0,0", not "( 14336,0,0".
  125.  
  126.      As always, I used Jon Mattson's CONTROL80 (from LS 128 #10) to set up
  127. the fonts and the VDC chip.  I never write an 80-column program without
  128. CONTROL80.
  129.  
  130.      Here are some of the SYSes I used in the program:
  131.  
  132.  sys51328 - switch to upper/lower case font.  Same as ?chr$(14)
  133.  sys51348 - switch to uppercase/graphics font.  Same as ?chr$(142)
  134.  sys52684,0,35 - blank the screen
  135.  sys52684,100,35 - bring back the screen
  136.  sys52591 - turn cursor off
  137.  sys52639 - turn cursor on
  138.  
  139.      Read all about the BLOTTO CONTEST in the file following this on the
  140. disk.  You may win some valuable software!
  141.  
  142. FT
  143.  
  144.                     **** R - Run    RETURN - Menu ****                      
  145.