home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / s / strabble.zip / STRABBLE.TEX (.txt) < prev   
LaTeX Document  |  1993-02-10  |  16KB  |  280 lines

  1. \documentstyle{article}
  2. \title{STrabble\\User Manual}
  3. \author{Warwick Allison}
  4. \newcommand{\strabble}{{\bf STrabble}}
  5. \newcommand{\scrabble}{{\bf Scrabble\copyright}}
  6. \newcommand{\button}[1]{\framebox{\tiny #1}}
  7. \begin{document}
  8. \maketitle
  9. \section{Overview}
  10.     \strabble\ is similar to the crossword game \scrabble\ from Murfet (Australian version).
  11. The primary difference being that this version can be played with just
  12. one player --- against a computer.
  13.     The initial release runs only on a {\bf monochrome monitor}.
  14.     Due to the size of the dictionary, a 45000 word monster in a highly
  15. sophisticated structure, this program will not execute on a machine with
  16. less than {\bf one megabyte of memory}. A smaller dictionary will be made available
  17. if any interest is shown.
  18. \section{Quick clues}
  19.     In order to let you avoid reading this manual, you can just take
  20. note of these few clues:
  21. \begin{itemize}
  22.     \item Select \button{PLAYERS} from the \button{GAME} menu, then click on
  23.         the top two \button{CPU3} buttons. Once you press \button{OKAY}, the
  24.         two super-brainy computers will battle it out. Click on
  25.         \button{END GAME} to stop them --- you will have to wait until
  26.         they are not thinking.
  27.     \item To play, click on tiles in the lower-left corner, then
  28.         click-and-hold on the square of the board you want to 
  29.         put your word at, then drag in the direction you want to
  30.         place the word.
  31. \end{itemize}
  32.     The program has many other features, so you should experiment with
  33. the menu options.
  34.     Some menu options may be disabled. This has {\em not} been done to
  35. hide or disable features, it's just that these features have not been
  36. implemented yet! Without doubt, those and many other features will be
  37. implemented in due course --- keep an eye on your software source!
  38. \section{Playing \strabble}
  39.     \strabble\ is a game for up to six players. The game centres around
  40. forming words from a group of letters, producing something like a crossword
  41. puzzle display. If you are unfamiliar with the game of \scrabble, we
  42. suggest you read the short description in section \ref{rules}, or better
  43. still, buy the board game!
  44. \subsection{Starting}
  45.     The initial game setup is for one human player against a moderately
  46. powerful computerised opponent, with both players given tiles. The human
  47. player will be able to go first. We describe play from this point now, and
  48. leave the description of changing the setup until later.
  49. \subsection{Choosing your word}
  50.     In the lower right side of the screen is a box, which we will call
  51. the {\em edit box}, containing your seven tiles. The top seven squares form
  52. an area we will call the {\em active} area. Immediately below the {\em active}
  53. area is a small arrow, the {\em cursor}, pointing up at the {\em active} area. The bottom seven
  54. squares --- which initially contain all seven of your tiles --- we will
  55. call the {\em inactive} area.
  56.     The {\em edit box} is used to choose the letters you intend to use
  57. on the board. Clicking on different parts of the {\em edit box} will
  58. produce different results. The actions are very intuitive, but we will
  59. explain them all, to make sure you don't miss a useful one:
  60. \begin{description}
  61.     \item[Inactive area]
  62.         You may either click on a tile or a
  63.         blank space in the {\em Inactive} area.
  64.         \begin{itemize}
  65.             \item Clicking on a tile in the {\em inactive} area
  66.                 will cause it to be moved up into the {\em active} area,
  67.                 at the current position of the {\em cursor}.
  68.             \item Clicking on a blank space in the {\em inactive} area
  69.                 will cause all of the tiles in the {\em active}
  70.                 area to be moved down into the {\em inactive} area.
  71.         \end{itemize}
  72.     \item[Active area]
  73.         Clicking on a tile in the {\em active} area
  74.         will cause it to be moved down into the {\em inactive} area,
  75.         and the {\em cursor} to be moved to the point of
  76.         removal.
  77.     \item[Cursor]
  78.         Clicking on the area just below the {\em active} area will
  79.         move the cursor to that position --- but not past the end
  80.         of the tiles in the {\em active} area.
  81. \end{description}
  82.     Also available, are {\em keyboard equivalents} for the above functions,
  83. and these we list below:
  84. \begin{description}
  85.     \item[A to Z] Pressing a letter key will cause a tile with that
  86.         letter to be moved into the {\em active} area. Of course,
  87.         if your don't have such a letter in your {\em inactive} tile,
  88.         nothing will happen.
  89.     \item[Space] Pressing the space bar will move a {\em blank} tile into
  90.         the {\em active} area, provided you have one.
  91.     \item[Escape] Pressing ESC will cause all tiles from the {\em active}
  92.         area to be moved into the {\em inactive} area.
  93.     \item[$\leftarrow$ and $\rightarrow$] Pressing an arrow key will move the
  94.         cursor, but not past either end of the {\em active} tiles.
  95.     \item[Backspace] Pressing the backspace key will cause the tile
  96.         to the left of the {\em cursor} position to be moved down
  97.         into the {\em inactive} area.
  98.     \item[Delete] Pressing the delete key will cause the tile to the
  99.         right of the {\em cursor} position to be moved down into the
  100.         {\em active} area.
  101. \end{description}
  102.     When choosing letters for your word, you will usually be intending
  103. to use a letter or some letters on the board as part of the word. Just leave
  104. those letters out of those you put in the {\em active} area, and they will
  105. be filled in when you place your word.
  106. \subsection{Placing your letters on the board}
  107.     To place your word on the board, move the mouse pointer to the point
  108. on the board where you want to place the first tile in your {\em active}
  109. letters. Then click and drag in the direction you want the word to go --- a
  110. rubber box will show you what your doing. Release the mouse button when
  111. you have sufficiently described the direction you want.
  112.     You {\em do not} have to drag a rubber box to the exact size of the
  113. word you are placing, just enough to give an indication. If you just click
  114. and release, your word will be placed acrosswards on the board.
  115.     You {\em do not} have to worry too much, because if you misplace your
  116. word, it will probably indicate rubbish words on the board, which the computer
  117. will check and refuse.
  118. \subsection{Automatic spell-checking}
  119.     If you attempt (perhaps accidentally) to place a word on the board
  120. which is not in the \strabble\ dictionary, the computer will display a
  121. warning alert, allowing you to change your mind about the placement
  122. by pressing the \button{CANCEL}, to ignore the fact that the word is nonsense
  123. (\button{IGNORE}), or to actually add it to the dictionary (\button{ADD})! Unlike
  124. \scrabble, there is no penalty for attempting to use a wrong word.
  125.     The spell checking feature can be disabled by clicking on the
  126. \button{CHECK SPELLING} button in the \button{OPTIONS} menu. You might
  127. wish to do this just to experiment.
  128.     The ability to add words to the dictionary can be disabled by clicking on the
  129. \button{LOCK DICTIONARY} button in the \button{OPTIONS} menu. You might do
  130. this when people who are unfamiliar with the game are playing.
  131. \subsection{Swapping tiles}
  132.     Occasionally you will not be able to think of a word to play because
  133. of poor available tiles. You may swap from zero to all of your tiles with
  134. new ones\footnote{not necessarily new --- if you are nearing the end of the
  135. game, you may get the same tiles back!} by moving them into the {\em active}
  136. area, then clicking on the \button{SWAP} button on the desktop. Some players
  137. like to do this even when they can go, with a small score, in the hope of
  138. collecting better letters --- for example if you have six E's and a C, you
  139. might think you are better off swapping some of the E's for new tiles.
  140. \subsection{Your new tiles}
  141.     After playing your tiles, you will be given new ones to bring your
  142. total back to seven. The next tile it is your turn, the new tiles will
  143. be in the {\em active} section so that you know what they are. There are
  144. only one hundred tiles available, so if there are insufficient tiles, then
  145. you will be given as many as possible (see section \ref{endgame}).
  146. \section{Loading and Saving games}
  147.     Games can be loaded and saved freely. Two particular games are kept
  148. recorded by the computer:
  149. \begin{enumerate}
  150.     \item The game with the highest combined score of all players.
  151.     \item The game with the highest score for a single player.
  152. \end{enumerate}
  153. These two special games are stored as {\tt BESTGAME.SAV} and {\tt TOPSCORE.SAV}
  154. respectively, and are stored in the {\tt DATA} directory. All other games
  155. will be stored in the {\tt GAMES} directory --- unless you change the
  156. path in the fileselector when you save them!
  157. \strabble\ games are pretty important things, so the computer keeps track of
  158. whether you have saved the game, so if you stand to lose it, you will be
  159. warned and given the option of saving. For example, if you quit or attempt
  160. to load another game without ending the current game, you will be warned.
  161. {\em Please note that this feature is NOT one of those `dumb' ones where
  162. the computer just mindlessly asks for confirmation} --- if the computer
  163. says you haven't saved the game, then you haven't.
  164. \section{The Dictionary}
  165.     \strabble\ is supplied with a 45000 word dictionary to give the
  166. excellent performance achieved by the computer opponents, to check your
  167. spelling without annoying you with checks on words that are real, and to
  168. let you peruse the dictionary to help you play.
  169. \subsection{Searching for words}
  170.     You may search the dictionary at any time by clicking on the
  171. \button{SEARCH DICTIONARY} option under the \button{WORDS} menu. The window
  172. you are given may be left on the screen, and moved around like any normal
  173. GEM window. To use the dictionary, click in the area at the top, and type
  174. your word just as you would with any normal edit line in a GEM dialog
  175. box, with the exception that you must press RETURN before you can do anything
  176. else\footnote{This must be done, because this is a {\em window}, rather than
  177. the usual {\em form} --- forms cannot be moved around.}
  178.     As well as simply typing a word to search for, you can also you
  179. special characters (wild cards):
  180. \begin{itemize}
  181.     \item The character `{\tt *}' represents any 1 or more letters, except when
  182.         used at the end of your word, when it means 0 or more.
  183.     \item The character `{\tt ?}' represents any 1 letter.
  184. \end{itemize}
  185. for example:
  186. \begin{description}
  187.     \item[\tt HE*O] Matches HELLO, HERO, HERETO, and HEREUNTO.
  188.     \item[\tt MO?SE] Matches MOOSE, MORSE, and MOUSE.
  189.     \item[\tt P*TR??E] Matches just PROTRUDE.
  190. \end{description}
  191.     This feature is intended to help you with your game --- but you may
  192. prefer to play against a less powerful computer and not use the dictionary.
  193. In the original \scrabble\ game, the use of a dictionary was {\em strictly}
  194. prohibited, but if the computer is using the dictionary then why shouldn't you?
  195. \subsection{Changing the dictionary}
  196.     Every so often, you will come up with a really good word, and the
  197. computer will not know it. You will be allowed at that time to add the
  198. word to the dictionary. You may also edit the dictionary at your leisure
  199. by selecting the \button{EDIT WORDS} option in the \button{WORDS} menu.
  200. You can add or delete words by typing the word then pressing the
  201. appropriate button.
  202.     This feature is very underdeveloped, because you really shouldn't
  203. have to edit the dictionary. You should certainly be {\em very} careful
  204. when removing words from the dictionary: Honestly, `zo' is a word; Just
  205. because your dictionary does not have the word, don't delete it. Some of
  206. the words are, admittedly, obscure. For example:
  207. \begin{quote}
  208.     {\bf alfa,} {\em n.} the name of a North African grass of the genus
  209.         {\em Stipa}; also, its fiber, used in the manufacture of
  210.         paper, baskets, etc. {\em Webster, 1960}\\
  211.     {\bf zo, zho, {\em or} dzo} {\em n., pl.} {\bf zos, zhos, dzos
  212. {\em or} zo, zho, dzo.} A Tibetan breed of cattle, developed by crossing
  213. the yak with common cattle. [C20: from Tibetan] {\em Collins, 1981}
  214. \end{quote}
  215. So you think the Tibetans must play \scrabble\ too? Fancy breeding
  216. cattle just to get rid of a Z!
  217.     You may save the dictionary at any time, but if you have added (or removed)
  218. words to the dictionary and you select \button{QUIT}, then you will be
  219. warned, and given the opportunity to save the dictionary befure exiting.
  220. \section{Rules of the Game}
  221. \label{rules}
  222.     In this section, we give a description of the game itself. If you
  223. are unfamiliar with the game and you find this overly brief, then we
  224. suggest you obtain a copy of the board game \scrabble.
  225. \subsection{Allowable moves}
  226.     The rules for \strabble\ are very simple, basically, you may place
  227. any number of tiles on the board at once, provided:
  228. \begin{itemize}
  229.     \item They are in a straight line vertically or horizontally.
  230.     \item Every word on the board is a real one after your turn.
  231.     \item Your word does not go off the edges of the board.
  232.     \item Your word touches another tile adjacently
  233.         (diagonally does not count), unless you are the very first
  234.         player, in which case, your word must cover the star in
  235.         the middle of the board.
  236. \end{itemize}
  237.     All of these rules are enforced automatically.
  238. \subsection{Scoring}
  239.     You score points for every {\em new} word you make.
  240.     If you place a tile on a square marked {\em Double Letter Score} or
  241. {\em Triple Letter Score}, then that tile is worth double or triple its base
  242. value in every word it forms part of.
  243.     If you place a tile on a square marked {\em Double Word Score} or
  244. {\em Triple Word Score}, then every word that tile forms part of will
  245. be worth double or triple its base value.
  246.     If a word covers more than one word-bonus square (two, but possibly three
  247. --- unlikely), then the word will be worth the product of those bonuses.
  248.     If you use all seven tiles from your collection in a sinlge move,
  249. then you receive a bonus of fifty points on top of the total of all your words
  250. you formed (it is not possible that this bonus be doubled or tripled).
  251.     A blank --- which represents any letter chosen by the player who
  252. originally used it --- has a base value of zero points, and thus is never
  253. worth any points in total.
  254. \subsection{At the end of the game}
  255. \label{endgame}
  256.     The game ends when the \button{END GAME} button in pressed, or when
  257. one player uses all of his/her tiles and no more are available to replace them.
  258.     When the game ends, the total base value of each players tiles is
  259. {\em subtracted} from his/her score. If one player has no remaining tiles, then
  260. that player has the total values of all opponents remaining tiles {\em added} to
  261. his/her score.
  262.     If all players are computerised, then they will end the game if
  263. none of them can find a word, just as human players may do by pressing the
  264. \button{END GAME} button.
  265. \section{Installation}
  266.     Place the two files {\tt STRABBLE.PRG} and {\tt STRABBLE.RSC}
  267. somewhere on your disk (eg. in your games directory; on a blank floppy disk).
  268. Then create a folder called {\tt DATA} and place all other files there. Then
  269. create a folder called {\tt GAMES}, where your games will reside.
  270.     The largest file in the distribution is one called {\tt DICT.DAT},
  271. this is the dictionary. It can be placed in the {\tt DATA} directory, or
  272. you may like to put it elsewhere (eg. in a data directory), because a number
  273. of other programs by the author of \strabble\ will be able to use it too.
  274. Simply set the environment variable {\tt STRDICT} to be the path
  275. of the dictionary, eg. {\tt \verb"C:\DATA"} --- you may
  276. need a special program to set environment variables, but we assume that if
  277. you are using a hard disk, then you will probably already have this, if not
  278. many public domain programs exist for the purpose.
  279. \end{document}
  280.