home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame Game Cube 6: Simulation / aztechhalloffamegamecubedisc6- / link4 / link4.txt < prev    next >
Text File  |  1994-03-21  |  7KB  |  124 lines

  1.      ======================================================================
  2.      LINK FOUR Version 1.30 - A Strategy Game for Windows 3.1
  3.      Copyright (C) 1992,1994 by R&R Engineering - All Rights Reserved
  4.      ======================================================================
  5.  
  6.  
  7.      THE GAME OF LINK FOUR
  8.      ---------------------
  9.  
  10.      Link Four is a strategy game where two players take turns stacking red
  11.      and blue marbles in a 7x7 grid in an attempt to be the first player to
  12.      establish a linear arrangement of four or more marbles in adjacent
  13.      grid positions (i.e. to "get four in a row").  Two grid positions are
  14.      considered adjacent if neither their rows nor columns differ by more
  15.      than one (thus "four in a row" can be achieved either vertically,
  16.      horizontally, or diagonally).  The game ends when one player achieves
  17.      a "link" of at least four marbles, or when the grid has been filled.
  18.  
  19.      In addition to allowing to human players to compete, Link Four
  20.      implements four levels of computer play.  The computer can be assigned
  21.      to play red, blue, or both.  Also, In addition to these "canned"
  22.      search modes, Link Four implements a unique "rule-based" mode which
  23.      allows the move search heuristics to be programmed by the players.
  24.  
  25.  
  26.      LICENSE
  27.      -------
  28.  
  29.      This program is free software; you may redistribute the following
  30.      files so long as all files are distributed together in their original,
  31.      unmodified form:
  32.  
  33.         LINK4.TXT    -  This document
  34.         LINK4.EXE    -  The Link Four program executable
  35.         LINK4.HLP    -  The Link Four online help document
  36.         SAMPLE.RUL   -  The sample rule set from the online help
  37.         EXAMPLE.RUL  -  A more extensive example rule set
  38.         STARS.BMP    -  A sample bitmap for use as a background
  39.  
  40.      This software is distributed in the hope that it will be useful, but
  41.      BECAUSE THE SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  42.      FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT
  43.      WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
  44.      PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
  45.      EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  46.      IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  47.      PURPOSE.
  48.  
  49.  
  50.      THE LINK FOUR SOURCE CODE
  51.      -------------------------
  52.  
  53.      Link Four was programmed using Borland Pascal version 7.0.  Link Four
  54.      was initially designed as an instructional program for a beginning
  55.      Windows programming class using the Borland Pascal language.  As an
  56.      instructional program, the code has been carefully organized, cleanly
  57.      written, and contains extensive internal documentation to aid in the
  58.      Windows programming learning process.  It is intended that the source
  59.      code will ultimately be published in an introductory text on Windows
  60.      programming using the Borland Pascal language.
  61.  
  62.      Following the initial design and implementation of the Link Four
  63.      program, a module was added to assist in teaching the artificial
  64.      intelligence concepts of pattern matching and heuristic search to
  65.      gifted junior high and high school level students.  The resulting
  66.      Rule-Based Play feature has proven highly successful, not to mention
  67.      being a great deal of fun.
  68.  
  69.      The intent was to design an instructive program which was an entire,
  70.      moderately sized application, to bring together the fundamentals of
  71.      Windows programming concepts.  In addition to basic program structure,
  72.      the program illustrates several important and useful Windows
  73.      programming concepts and techniques, including cooperative
  74.      multitasking, handling 256 color bitmaps, smooth dragging of bitmap
  75.      objects, design and integration of Windows help files, and more.
  76.  
  77.      Also, not limited to the realm of only Windows programming, the Link
  78.      Four program illustrates fundamental techniques of game-playing
  79.      programs.  The computer-based strategy used by the program plays very
  80.      well, though it is actually quite simple.  The strategy of the game
  81.      was not a primary design issue, but programmers new to game trees and
  82.      heuristic searching can learn a great deal from the simple but
  83.      effective algorithms used by the Link Four program.
  84.  
  85.      The author of the Link Four program is Ron Pacheco.  He holds an M.S.
  86.      in Computer Science from the University of Missouri, and a B.S. in
  87.      Computer Science from Harding University.  Ron presently teaches
  88.      mathematics and computer science at Harding University, and operates a
  89.      private consulting business in the central Arkansas area.  Ron has
  90.      been programming under the Windows operating system for over six
  91.      years, and has recently begun teaching Windows programming to others.
  92.      The Link Four project is a part of these efforts.
  93.  
  94.      For those interested in using the code as a learning tool,
  95.      experimenting with the code, or contributing to the Link Four project,
  96.      the complete Borland Pascal 7.0 source code and all associated files,
  97.      including all resources and help project files, can be obtained from
  98.      the author for $15 U.S.  For this fee the author grants the right to use
  99.      any or all of the code in any commercial or non-commercial programming
  100.      project, so long as modified versions of the Link Four program itself
  101.      nor any of the source code is distributed without the express written
  102.      permission of the author.
  103.  
  104.      For those interested, a portion of the fee will be used for postage,
  105.      packaging, and media, and the remainder will be used by the author in
  106.      his efforts toward developing an introductory Windows programming text
  107.      using the Borland Pascal language.
  108.  
  109.      To obtain the latest version of all source files on a high-density,
  110.      3.5 inch floppy disk, send a $15 check or money order, payable to
  111.      Ronald T. Pacheco, to:
  112.  
  113.           R&R Engineering
  114.           Link Four Project
  115.           4 Marshall Drive
  116.           Searcy, AR 72143-5011
  117.  
  118.      For those with Internet access who are interested in contacting the
  119.      author, he can be reached via e-mail at pacheco@acs.harding.edu.  The
  120.      author welcomes questions, comments, and suggestions regarding the
  121.      Link Four project or ideas for developing an introductory Windows
  122.      programming text based on the Borland Pascal programming language.
  123.  
  124.