home *** CD-ROM | disk | FTP | other *** search
- Long Distance Backgammon
- ------------------------
-
- This is a program that lets two people easily play backgammon
- by e-mail. It currently runs only on character-oriented terminals
- (or emulators thereof) under the curses package.
-
- To build ldb, create a directory, copy all the parts into
- that directory, strip the usenet or mail headers with a text editor,
- and execute them with a shell (e.g. sh Part1; sh Part2; ...).
- The installation options are documented in the Makefile. The only
- one of any importance is the one that allows the OLD_CURSES symbol
- to be defined. If you get linker errors complaining about cbreak()
- and nocbreak(), you will need to enable this option. If your system
- needs this, and you know a unique symbol your preprocessor predefines,
- send it to me and I'll include it in future releases.
-
- Suggestions and problems are cheerfully accepted, all the more
- so when accompanied by appropriate patches, in any format the patch
- program understands (e.g. context diff). E-mail to ross@emf780.den.mmc.com.
-
- The first time ldb is run, it will create a file in your home
- directory called ".ldbrc". If this name is inconvenient, define the
- environment variable LDBRC to be the name you want before running it
- the first time (and all times after that). Ldb will ask for your
- personal, human-type name and your e-mail address. All other options
- will be set to their defaults, as explained in the manual.
-
- To start a game, type:
- ldb -start opponent's-email-address
- and everything is automatic from there. You may have to exchange
- several mail messages before you are ready to play, since your ldb has to
- do the initial roll with the remote ldb, and if there is a tie, the
- initial roll is repeated. Eventually, you will see a board drawn on
- the screen. The commands are in the bottom right corner. The moves by
- you and your opponent are above that, on the right side of the screen, and
- the bottom of the screen contains a place for you to enclose a 2-line
- message with each move. This is useful for taunting, pleading, etc.
- You will need to press 'r' to roll the dice, then press the number of the roll
- you want to use followed by the point you want to move from. For example,
- if you roll 5 2, and you want to move the piece on the 11 point 5, press
- 5 1 1. You don't need to hit return, but if the point number is 1 digit,
- you will need to type some non-numeric digit after it to finish the
- 2 characters. After you have used one of your rolls, there are 3 shortcuts
- you can use for the remainder of your roll:
- <space bar> Continues the last move. The piece you last moved
- is moved by the amount of the other/next roll.
- <return> Repeat the last move. The other/next roll is applied
- to the same point you moved from last time.
- p Make point. This gets a little tricky. Ldb attempts
- to use the other/next roll to move one of your pieces
- so that it ends up on the same point as your last move
- ended on. That is, if you roll 5 2 and use the 5
- to move from the 6 point to the 11 point, and hit "p",
- ldb will move one of your pieces from the 9 point to
- the 11 point to make the 11 point. This assumes,
- of course, that you have a piece on the 9 point.
-
- Ldb checks your moves for a number of common errors. These
- are listed in the manual.
-
- For more options, read the manual and the comments at the top
- of main.c.
-
- Good luck!
-
- Perry R. Ross
- ross@emf780.den.mmc.com
-
- -----------------------------------------------------------------------------
-
- Really Scary and Hopefully Bulletproof Legal Statement:
-
- This software is copyright 1991 by Perry R. Ross. Permission to use,
- copy, modify, and redistribute it is granted provided:
- (1) It is not sold.
- (2) This notice accompanies all copies, and is kept intact.
- (3) Users do not cheat by any method, including but not limited to:
- A. modifying the roll generated by the random number generator,
- B. modifying the code to provide any roll other than that
- generated by a bona-fide random number generator,
- C. taking advantage of any non-randomness in a random
- number generator to predict upcoming rolls,
- D. changing the contents of an incoming message or of the
- .ldbdata file to modify the normal progression of a
- game in any way, or
- E. generating a roll before offering to double.
- Persons guilty of cheating in any way while using this software
- are denied permission to use or distribute this software
- in perpetuity. Excluded from the definition of cheating is
- any action whose intention is to test or debug this software,
- as long as the opponent is aware that these actions are being
- performed, and the game is considered "unofficial".
- The above restrictions are made in all seriousness, and with every
- intention of enforcement by any and all legal means where practical.
-
- (Sounds almost as good as the real thing, doesn't it?)
-