home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / wbgames / battlesheep / fbs.doc next >
Text File  |  1977-12-31  |  7KB  |  167 lines

  1. /*
  2.  *
  3.  * Fuzzy Battle Sheep!
  4.  * by Johnny Mopp
  5.  *
  6.  * Written with SAS/C 6.51
  7.  * Copyright 1994 John Corigliano
  8.  *
  9.  * internet: j.corigliano@genie.geis.com
  10.  *    GEnie: J.CORIGLIANO
  11.  *      BIX: mopp
  12.  *
  13.  */
  14.  
  15. Feel free to drop me a line at one of the nodes listed above if you find
  16.  any bugs, or have any complaints, or want to tell me how cool I am ;}
  17.  
  18. Distribution Notice: All files in this archive may be freely
  19.  redistributed complete and in there unaltered entirety as long as
  20.  no fee is charged (except disk costs).
  21.  These files should be contained in the archive:
  22.     Sheep!       - my neat-o game
  23.     Sheep!.info  - its icon
  24.     FBS.doc      - this file
  25.     FBS.doc.info - its icon
  26.     sound01  \
  27.     sound02   \
  28.     sound03    > - sound files
  29.     sound04   /
  30.     sound05  /
  31.     source.lha   - source code archive
  32.  
  33. This program is Public Domain, no fee may be charged for it.
  34. This program is offered AS IS. No warranties are implied.
  35.  
  36. Blah, blah, blah......
  37.  
  38. ************************
  39. *      Overview        *
  40. ************************
  41.  
  42. What you have here is your classic 'search and destroy' type game. It's
  43.  you against your Amiga in a battle to the Death! Sort of...
  44.  The object of the game is to find (I prefer 'destroy') all of the
  45.  computer's wolves. While you're busy doing that, the computer is looking
  46.  for ('hunting down in cold blood') all of your sheep.
  47.  
  48. ************************
  49. *     How to play      *
  50. ************************
  51. Step 1: Turn on your computer ;)
  52.  Then, load the game (the 'Sheep!' file) via WorkBench or CLI. When you
  53.  do this a window opens on the default public screen. Inside this window
  54.  are two grids: the top grid is yours and the bottom grid is the computer's.
  55.  To start a game click the gadget labeled 'Set Up' and the computer's
  56.  grid will be replaced by a set of gadgets that you use to position your
  57.  sheep.
  58.  
  59. About sheep and wolves...
  60.  You have five sheep and the computer has five wolves. The largest animals
  61.  occupy six adjacent blocks on the grid and the smallest uses two:
  62.          Sheep            Wolf              Size (in blocks)
  63.          -----            ----              ----------------
  64.          Big Daddy        Mr. Big            Six
  65.          Mathilda         Sheba              Five
  66.          Lamikins         Wolfy              Four
  67.          Lil' Sis         Mutt               Three
  68.          Baaa-by          Puppy              Two
  69.  
  70. Positioning your sheep...
  71.  Initially, your sheep will be located in the upper-left-hand corner of
  72.  your grid. One sheep, 'Big Daddy', will be highlighted in color 2 (on the
  73.  standard 2.0 WB screen color 0 is grey, color 1 is black, color 2 is
  74.  white, and color 3 is blue). Below your grid are four gadgets labeled
  75.  'Up', 'Down', 'Left' and 'Right'. Use the gadgets to move the highlighted
  76.  sheep in one of the four directions. There is also a 'Turn' gadget that
  77.  allows you to rotate a sheep 90 degrees. Select which sheep the position
  78.  gadget affects by selecting the gadget on the right with that sheep's
  79.  name in it. 
  80.  If your as lazy as me you'll most likely and up using the 'Rand' gadget
  81.  which lets the computer place your sheep for you (don't worry, after the
  82.  computer places your sheep it 'forgets' where they are!). You can use any
  83.  of these gadgets as often as you like and in any order. Note: Sheep cannot
  84.  sit on top off on another!! If you try to move one sheep over another,
  85.  the game won't let you.
  86.  Once you have the sheep in the places you want them, click the 'Okay'
  87.  gadget to start the game.
  88.  
  89. You go first...
  90.  Once you click the okay gadget, the computer's grid returns. The computer
  91.  will decide where he wants his wolves automatically (of course you won't
  92.  see them!). You will still see your sheep in the upper grid, but that's
  93.  only for your benefit: the computer has no idea where they are!
  94.  To start playing click on any square in the lower grid - remember, you
  95.  are trying to find the wolves and they are hiding in the lower grid. If
  96.  the square you choose does not have a wolf hiding under it, it will
  97.  dissappear. If there is a wolf there, it will turn white (color 2).
  98.  After you take your turn, the computer automatically goes - you will
  99.  see the result in the upper grid.
  100.  
  101. Go for the throat...
  102.  If you find a wolf (i.e. get a white square) on your next turn continue
  103.  to search in that area. You will probably see a pattern develop as wolves
  104.  (and sheep) can only sit horizontally or vertically. Once you've figured
  105.  out the pattern continue searching in that direction until either you
  106.  miss or you uncover the whole wolf. If you miss, reverse direction but
  107.  keep in mind that wolves (and sheep) can sit adjacent to one another -
  108.  so you might be attacking two or more wolves at once! Once you've
  109.  uncovered the whole wolf, the computer will let you know (the wolf will
  110.  will turn black). That wolf is the considered dead and you can continue
  111.  searching elsewhere.
  112.  
  113. Game over, man...
  114.  The game ends when either you've found all the wolves or the computer
  115.  has found all your sheep. To play another game click the 'Set Up' gadget
  116.  and re-position your sheep (or just click the 'Okay' gadget to leave
  117.  then where they are).
  118.  
  119. ********************
  120. *      Sound       *
  121. ********************
  122.  
  123. The game uses some pretty silly sounds. If you don't like them you can
  124.  turn them off by selecting the Game->Sound->Off menu. To turn them
  125.  back on select Game->Sound->On.
  126.  Or, if you really don't like them you can replace them with your own
  127.  sounds. To do this get/create an 8SVX sample and copy it to the same
  128.  directory that the 'Sheep!' file is in. Then rename or delete the sound
  129.  file that you want to change (see below) and rename your sample to what
  130.  the original was named. Here are the original sample names:
  131.             Name           Effect
  132.             ----           ------
  133.             sound01        A hit on a sheep or wolf
  134.             sound02        A player miss
  135.             sound03        A computer miss
  136.             sound04        A wolf has died
  137.             sound05        A sheep has died
  138.  
  139.  Example: if you want the game to play a sample called 'Arghhh' when a
  140.  sheep dies do this:
  141.      1) Make sure 'Arghhh' is an 8VSX sound sample.
  142.      2) Rename 'sound05' or delete it.
  143.      3) Copy 'Arghhh' to the drawer that 'Sheep!' is in.
  144.      3) Rename 'Arghhh' 'sound05'.
  145.  NOTE: Keep the samples short!! If they are too long they will slow the
  146.  down.
  147.  
  148.  
  149. *************************
  150. *   What's so fuzzy?    *
  151. *************************
  152.  
  153. Just so you know, the 'Fuzzy' in 'Fuzzy Battle Sheep' does not refer to
  154.  wool! It actually refers to the fact that this program was written using
  155.  the basic precepts of Fuzzy Set Theory - or, Fuzzy Logic. You've most
  156.  likely heard the term but now you meet it face to face. I DO NOT claim
  157.  to be an expert in the field (I've only read one book!) but I have to
  158.  say that I had originally written this program using standard logic -
  159.  probability and it just didn't work and was really long! Then I re-wrote
  160.  the main algorithm using a few IF...THEN directives (vis a vis Fuzzy Sets)
  161.  and voila! the code worked great! I replaced a hundred lines of code
  162.  with about ten IF...THENs and the computer no longer crashed or got
  163.  confused! Best of all I rewrote a months worth of coding in one night.
  164.  Thanks Zadeh!
  165.  
  166. Enjoy the game!
  167. /\/\opp...