%N% %W% %E% %U%

Egammon is yet another version of backgammon, a dice and strategy game.
It was written primarily for Windows NT (Registered Trademark) 3.11.
It runs under Windows, but less elegantly. It is presented
FREE and "AS IS." You can distribute the program freely as long as
1) you don't make any profit out of it, either directly, or
indirectly, and 2) You do not alter it in any way. Because it is free,
it comes with no warranty of any kind, whether implied or expressed,
including the implied warranties of merchantability and fitness for a
particular use. In other words, you use it at your own risk. Since some
source code is also provided with this program, the following rules
also apply: You may not copy and/or distribute any work derived from
this program unless it is also free and presented "as is" with all the
limitations set forth above.

The .ZIP file contains 5 files. Of these, you are reading one. To run the
game The following 3 files are needed:

  egammon.exe
  egammon.cfg
  egammon.dll

The file egammon.cfg is optional. If you don't have it in the "current
directory", from which you enter the command to run egammon, a new one
will be created when you exit the program. It is used to store the settings
such as color, various switches, and size and positions of the window for
subsequent restoration. The program has been tried with standard 480 x 640
VGA with 16 colors only. Your milage may vary. I don't have the foggiest
idea what would happen with higher resolutions or more than 16 colors.

The executable egammon.exe requires egammon.dll to be present in some
directory that is listed as part of your PATH environment variable. The
program will not run without egammon.dll.

Egammon.dll contains only one object module. The source for that module
is provided in the file cost.c which is the fifth file in this package.
The function cost() determines the move strategy for the "computer" side
of the game during normal play, and for both sides during auto-play. You
can write your own substitute version, build another egammon.dll that
contains it, and use it instead of the one that is provided. Detailed
information about the function is listed in cost.c.

Enjoy.


If you wish to drop me a line my mailing address is:

    Siamack Navabour
    6807 Jackson Ave.
    Falls Church, VA. 22042-1909
