home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / GAMES / 3AHEXX / HEXXAGON.DOC < prev    next >
Encoding:
Text File  |  1995-06-14  |  15.5 KB  |  348 lines

  1.  
  2.  
  3.  
  4.                          ╔══════════════════════════╗
  5.                          ║  H  E  X  X  A  G  O  N  ║
  6.                          ╚══════════════════════════╝
  7.  
  8.  
  9.  
  10.    ┌────────────────────────────────────────────────────────────────────────┐
  11.    │                                                                        │
  12.    │        A PSION Series-3a conversion of the famous board game           │
  13.    │                                                                        │
  14.    └────────────────────────────────────────────────────────────────────────┘
  15.                      (c) Copyright 1995 - Marco Aicardi
  16.  
  17.  
  18.  
  19.                                 ┌───────────┐
  20.  ───────────────────────────────┤ SHAREWARE ├──────────────────────────────────
  21.                                 └───────────┘
  22.  
  23.    Hexxagon is Shareware. You can use it freely for 14 days. If you find this
  24.    program nice and you like it, please register it by sending £7 (UK Pounds)
  25.    or  $10  (US Dollars) cash. If you wish to send a cheque, please send Lit.
  26.    25000; the slight difference  between  cash  and  cheque amounts is due to
  27.    bank fees for the international operation. Please note that it would be  a
  28.    nice  idea  to put one ore two blank sheets so that the postmen cannot see
  29.    the inner money and make the letter misteriously disappear.
  30.  
  31.    Please send registration fees to:
  32.  
  33.    Marco Aicardi,
  34.    Via G. Acerbi 6/3
  35.    16148 - GENOVA (Italy).
  36.  
  37.    Registered  users will receive a code for registering the program with the
  38.    following features:
  39.  
  40.                 ┌──────────────────────────────────────────┐
  41.                 │ * No more nag-screen                     │
  42.                 │ * Default options saving and loading     │
  43.                 │ * Possibility of deleting the help file  │
  44.                 │ * Possibility of changing default sounds │
  45.                 └──────────────────────────────────────────┘
  46.  
  47.    When registering, please include your e-mail address of Fax number (if you
  48.    have one); this way I will  send  your registration code by e-mail or fax,
  49.    as they are faster and just a bit more secure.
  50.  
  51.    You use this program at your own risk: the Author will not  be  liable  of
  52.    any damage caused by use or misuse of this program.
  53.  
  54.    I have found none, but if you find any bug, please report me.
  55.  
  56.                      ┌─────────────────────────────────┐
  57.                      │ E-MAIL: puericultura@ge.infn.it │
  58.                      └─────────────────────────────────┘
  59.  
  60.    If the above  e-mail  address  should  fail,  please  ask Steve Litchfield
  61.    (slitchfield@cix.compulink.co.uk) for my latest account.
  62.  
  63.    Please remember that writing a game takes a long work  and  that  you  can
  64.    help  Series-3a  Authors in making new games and programs just registering
  65.    their programs.
  66.  
  67.    Please support Shareware!
  68.  
  69.                    ┌─────────────────────────────────────┐
  70.                ┌───┤ NOTE FOR 3A-TETRIS REGISTERED USERS ├───┐
  71.  ┌─────────────┴───┴─────────────────────────────────────┴───┴────────────────┐
  72.  │ If you already have registered my  3a-Tetris,  the above fees become £5 or │
  73.  │ $7; Lit. 20000 if you send me a bank cheque.                               │
  74.  └────────────────────────────────────────────────────────────────────────────┘
  75.  
  76.                               ┌──────────────┐
  77.  ─────────────────────────────┤ DISTRIBUTION ├─────────────────────────────────
  78.                               └──────────────┘
  79.  
  80.    The Hexxagon game and auxiliary files are copyrighted, but you are  hereby
  81.    granted   permission   to   make   and  distribute  copies  for  personal,
  82.    non-commercial  use.  Use  them  yourself,  give  copies  to  friends  and
  83.    co-workers, or distribute them for  a  cost-based  fee as part of a user's
  84.    group or bulletin board service. If you wish to distribute these  programs
  85.    in   connection   with  any  other  product,  or  for  use  in  commercial
  86.    applications, please contact me for a  license agreement. All of the files
  87.    that make up this product  must  be distributed together, in an UNMODIFIED
  88.    form.
  89.  
  90.  
  91.                               ┌──────────────┐
  92.  ─────────────────────────────┤ INSTALLATION ├─────────────────────────────────
  93.                               └──────────────┘
  94.  
  95.  ┌────────────────────────────────────────────────────────────────────────────┐
  96.  │ If  you  have  RCOM  installed on your PC, just start INSTALL.BAT from DOS │
  97.  │              prompt and follow the on-screen instructions.                 │
  98.  └────────────────────────────────────────────────────────────────────────────┘
  99.  
  100.    The files you should have in the archive are:
  101.  
  102.      FILE NAME    WHERE TO COPY   DESCRIPTION
  103.      ----------------------------------------------
  104.    * HEXXAGON.OPA \APP\           The executable game file
  105.    * HEXXAGON.BIN \APP\HEXXAGON\  The S3a thinking routines
  106.    * HEXXAGON.PIC \APP\HEXXAGON\  The graphics data file
  107.    * HEXXAGON.HLP \APP\HEXXAGON\  The help file
  108.      HEXX_1.WVE   \APP\HEXXAGON\  In-game sound           ─┐
  109.      HEXX_2.WVE   \APP\HEXXAGON\  In-game sound            ├─ Hexxagon can run
  110.      HEXX_3.WVE   \APP\HEXXAGON\  In-game sound            │  without these
  111.      HEXX_4.WVE   \APP\HEXXAGON\  In-game sound            │  files installed
  112.      HEXX_5.WVE   \APP\HEXXAGON\  In-game sound           ─┘
  113.      HEXXAGON.DOC *DON'T COPY*    This documentation
  114.      INSTALL.BAT  *DON'T COPY*    The batch file for installation
  115.      INSTALL.SCR  *DON'T COPY*    The RCOM installation batch
  116.  
  117.    If you do not have RCOM or you do not succeed in using the installer given
  118.    with the package, simply copy  these  files  ALL  ON THE SAME DRIVE to the
  119.    above directories, then install the System icon as you normally would with
  120.    another program... And enjoy playing Hexxagon!
  121.  
  122.    (File indicated by * are vital for running the game).
  123.  
  124.                                ─┤ IMPORTANT ├─
  125.  
  126.    If you have downloaded the small version  of the game, you will notice you
  127.    do not have some files (HEXX_*.WVE). The game will run  perfectly  without
  128.    these  sounds, and, if you like, you can download the complete version and
  129.    enjoy the digitized sounds.
  130.  
  131.    Remember that unregistered users cannot change the HEXX_?.WVE files, while
  132.    registered users can choose  the  WVE  files  they  prefer  and put in the
  133.    directory \APP\HEXXAGON\, naming them HEXX_[1-5].WVE  (and  Hexxagon  will
  134.    play  them).  Unregistered  users  must   install  the  Help  file,  while
  135.    registered users can delete it.
  136.  
  137.  
  138.                                ┌────────────┐
  139.  ──────────────────────────────┤ USER GUIDE ├──────────────────────────────────
  140.                                └────────────┘
  141.  
  142.    THE GAME
  143.  
  144.    The Game Hexxagon is a game of  strategy  in which it is your task to take
  145.    over as much of the board as your opponent will allow.
  146.  
  147.    Your opponent is either another human or your thinking Series-3a.
  148.  
  149.    PLAYING RULES
  150.  
  151.    The game starts with 3 pieces  each  player and every player must select a
  152.    piece and move it.
  153.  
  154.    There are two possible kind of  moves while playing Hexxagon: you can move
  155.    by one or by two spaces.
  156.  
  157.    When you move by one space, your piece is duplicated into that space. When
  158.    you move by two spaces, your piece jumps to that position.
  159.  
  160.    You can only move to free positions.
  161.  
  162.    When you move (or duplicate), you will turn the oppontent's pieces next to
  163.    your own moved piece to your colour.
  164.  
  165.    WHEN THE GAME ENDS
  166.  
  167.    The  game  ends when a player has no more piecese on the board, when there are
  168.    are no more free positions on the  board or when a player has been blocked
  169.    and cannot move.
  170.  
  171.    In the first case, the player who has vanished  the  other  wins.  In  the
  172.    latter  case, the game is won by the player who has the more pieces on the
  173.    board. In the last case, the free  positions on the board are all assigned
  174.    to the player who blocked the other. The game is won by the player who has
  175.    the more pieces on the board.
  176.  
  177.    HOW TO PLAY
  178.  
  179.    You can use either the keyboard or a mouse.
  180.  
  181.    If you wish to use a mouse connected to your 3-Link cable, you simply have
  182.    to put a null modem adapter between your 3-Link and your mouse, then start
  183.    the game. Please read the mouse documentation at  the  end  of  this  file
  184.    before connecting it.
  185.  
  186.    You can press the Menu or the Help key in every moment. If  the  Series-3a
  187.    is  thinking  about  his own move, you will have to wait about 2-5 seconds
  188.    before the game responds your wishes.
  189.  
  190.    THE MAIN MENU
  191.  
  192.    When the game starts or when the  user presses the Menu key, Hexxagon will
  193.    show its main menu.
  194.  
  195.    You can select players level simply by clicking on the  respective  button
  196.    or on the corresponding writing.
  197.  
  198.    The little icons on the bottom of the screen gives, in order, to exit from
  199.    the game, to start a new game, to continue a running game (this option can
  200.    be unselectable if there is no current game), or to enter the sound volume
  201.    menu.
  202.  
  203.    Pressing the Menu key while in the main menu takes you back to the current
  204.    game or, is none, starts a new one.
  205.  
  206.    HOW TO PLAY
  207.  
  208.    Using the keyboard, you move the pointer by pressing the  arrow  keys  and
  209.    pressing Space or Enter to select a piece.
  210.  
  211.    To  make  a move, first select your own piece (it will see it changing its
  212.    colour), then select a destination  position.  If  you decide you will not
  213.    move a piece you have already selected, you can deselect it the same way.
  214.  
  215.    Please  note  that,  as  Hexxagon  make  an  extensive  use of the CPU, it
  216.    automatically enter the Pause  Mode  when  you  switch to another task (or
  217.    when an alarm rings). If S3a is thinking about its move when you switch to
  218.    another task, it will enter Pause Mode after doing its move.
  219.  
  220.    Finally, note that Hexxagon will not let the S3a switch off if it  is  not
  221.    in the Pause Mode.
  222.  
  223.  
  224.                            ┌─────────────────────┐
  225.  ──────────────────────────┤ MEMORY REQUIREMENTS ├───────────────────────────────
  226.                            └─────────────────────┘
  227.  
  228.    Hexxagon  has  been  written  mostly  thinking  about  graphics, but never
  229.    forgetting that the Series-3a  is  a multitasking computer and, therefore,
  230.    that memory could be needed and used by other running programs. That's why
  231.    graphics is accessed on-the-fly instead that  loading  it  permanently  in
  232.    memory.
  233.  
  234.    During initialization, Hexxagon  requires  about 62k; after inizialization,
  235.    it requires about 35-40k.
  236.  
  237.  
  238.                    ┌──────────────────────────────────────┐
  239.  ──────────────────┤ JUST A FEW WORDS ON COMPUTER PLAYING ├──────────────────────
  240.                    └──────────────────────────────────────┘
  241.  
  242.    The hardest part in the development  of  this game was, obviously, the S3a
  243.    thinking.
  244.  
  245.    I started with a simple level (now the Basic level) which simply evaluated
  246.    his own best move. How you will see during playing, this  is  not  a  very
  247.    good playing technique, as the S3a cannot understand when you are going to
  248.    blast him away 5 or even 6 pieces.
  249.  
  250.    So,  I  thought about writing a more sophisticated routine which evaluates
  251.    the best move in contrapposition  of  the  next player's best move. Such a
  252.    way, S3a can close himself in defense if he sees that  you  are  going  to
  253.    strike him.
  254.  
  255.    When the OPL routine was ready, I made the S3a Hard level play vs himself,
  256.    and  noticed what I already thought: the thinking times were 30-90 seconds
  257.    each move. Absolutely unacceptable!
  258.  
  259.    I ported the OPL routines to C, compiled it via assembly and optimized the
  260.    assembly code. Results were  fantastic:  now  the  S3a  moves in about 1-5
  261.    seconds. Just think that the DOS version of Hexxagon (running on an  Intel
  262.    Pentium 90MHz) takes 0-4 seconds to move.
  263.  
  264.    I have made several testing games with both the DOS and Windows  shareware
  265.    versions  of  this  game  and (I did not belive what I saw) the S3a always
  266.    crushed away his computer opponents.
  267.  
  268.    Nowadays, the only  one  who  beated  the  Hard  level  is  my  girlfriend
  269.    Francesca  (she  won 30-28, then the had a tie). I do not want to say that
  270.    this game is the most powerful opponent you will ever see, but only that I
  271.    succeeded in making it playing over my own dreams: I never thought I could
  272.    write a I/A routine which  could  play  with  a human a such sophisticated
  273.    game without always losing (and without making a move each minute)!
  274.  
  275.    At the time of writing, the thinking  routines  cannot  recognize  if  the
  276.    other  player  is going to block him or, if the S3a is losing the game, is
  277.    not able to decide of jumping instead of duplicating to make the game last
  278.    longer and being  able  to  win.  I  think  that  such routines would have
  279.    increased the thinking time to much, while  seldom  would  be  truly  used
  280.    while playing.
  281.  
  282.  
  283.                        ┌─────────────────────────────┐
  284.  ──────────────────────┤ USING A RS-232 SERIAL MOUSE ├───────────────────────────
  285.                        └─────────────────────────────┘
  286.  
  287.    The  main  idea  of  connecting  a  mouse  to the S3a was taken from Marko
  288.    Schuster, who wrote the first program accessing serial mouse with S3/S3a.
  289.  
  290.    I thought its idea was good, so  I developed a new version of his software
  291.    without the bugs of the original one (for example, the program  often  did
  292.    not synchronize the mouse 5 bytes packet and was not able to understand if
  293.    the mouse was connected or not).
  294.  
  295.    I tested my routines some months ago, then I lost my 3-Mouse connector, so
  296.    I  was  not  able  to  test  them on Hexxagon. If it does not work, please
  297.    inform me and I will fix it as soon as I can.
  298.  
  299.    Remember that on S3a only  one  process  can  open the serial port; if you
  300.    want to connect and use a mouse, you must disable the Remote  Link  before
  301.    running the game.
  302.  
  303.    If you do not have  the  original  Marko  package, here is a small passage
  304.    taken from his text file:
  305.  
  306.    "The mouse .. it must be a serial PC-mouse. Mouses for  Amiga/C64/Atari/..
  307.    will  not  work. To use a mouse, it must be connected with the serial link
  308.    of the S3(a). But  between  both  you  need a (null)modem-adapter (changes
  309.    SD&RD, DTR&DSR, RTS&CTS). An other solution is to make your own  cable  or
  310.    to  change the pins directly on the S3-Link-cable (for example, i have cut
  311.    the 9pin-connector and have  made  a  9pin-connecter  which i can directly
  312.    connect with my mouse. Note if  you  do  this:  be  sure  that  the  other
  313.    connector  is  NOT  connected to your PC! It wouldn't work.. if all Serial
  314.    links have the same colors on their  pins, such a new 9pin- connecter must
  315.    be make as followed:
  316.  
  317.    Pin   Color
  318.     1    empty
  319.     2    brown
  320.     3    red
  321.     4    black
  322.     5    blue & shield
  323.     6    green
  324.     7    yellow
  325.     8    orange
  326.     9    empty
  327.  
  328.    I MAKE NO WARRANTY IF THIS IS CORRECT. I MAKE NO WARRANTY  IF  YOU  DAMAGE
  329.    YOUR PSION!!!"
  330.  
  331.  
  332.                      ┌─────────────────────────────────┐
  333.  ────────────────────┤ TRADEMARKS AND ACKNOWLEDGEMENTS ├─────────────────────────
  334.                      └─────────────────────────────────┘
  335.  
  336.    Series-3a is trademark of PSION.
  337.    Help compiler by Jezar at PSION.
  338.  
  339.  
  340.  
  341.                       ╔═══════════════════════════════╗
  342.                       ║                               ║
  343.                       ║  THANKS FOR PLAYING HEXXAGON  ║
  344.                       ║   (AND FOR REGISTERING IT!)   ║
  345.                       ║                               ║
  346.                       ╚═══════════════════════════════╝
  347.  
  348.