home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume28 / ldb / part01 / README < prev    next >
Encoding:
Text File  |  1992-03-15  |  4.8 KB  |  98 lines

  1.         Long Distance Backgammon
  2.         ------------------------
  3.  
  4.     This is a program that lets two people easily play backgammon
  5. by e-mail.  It currently runs only on character-oriented terminals
  6. (or emulators thereof) under the curses package.
  7.  
  8.     To build ldb, create a directory, copy all the parts into
  9. that directory, strip the usenet or mail headers with a text editor,
  10. and execute them with a shell (e.g. sh Part1; sh Part2; ...).
  11. The installation options are documented in the Makefile.  The only
  12. one of any importance is the one that allows the OLD_CURSES symbol
  13. to be defined.  If you get linker errors complaining about cbreak()
  14. and nocbreak(), you will need to enable this option.  If your system
  15. needs this, and you know a unique symbol your preprocessor predefines,
  16. send it to me and I'll include it in future releases.
  17.  
  18.     Suggestions and problems are cheerfully accepted, all the more
  19. so when accompanied by appropriate patches, in any format the patch
  20. program understands (e.g. context diff).  E-mail to ross@emf780.den.mmc.com.
  21.  
  22.     The first time ldb is run, it will create a file in your home
  23. directory called ".ldbrc".  If this name is inconvenient, define the
  24. environment variable LDBRC to be the name you want before running it
  25. the first time (and all times after that).  Ldb will ask for your
  26. personal, human-type name and your e-mail address.  All other options
  27. will be set to their defaults, as explained in the manual.
  28.  
  29.     To start a game, type:
  30.         ldb -start opponent's-email-address
  31.     and everything is automatic from there.  You may have to exchange
  32. several mail messages before you are ready to play, since your ldb has to
  33. do the initial roll with the remote ldb, and if there is a tie, the
  34. initial roll is repeated.  Eventually, you will see a board drawn on
  35. the screen.  The commands are in the bottom right corner.  The moves by
  36. you and your opponent are above that, on the right side of the screen, and
  37. the bottom of the screen contains a place for you to enclose a 2-line
  38. message with each move.  This is useful for taunting, pleading, etc.
  39. You will need to press 'r' to roll the dice, then press the number of the roll
  40. you want to use followed by the point you want to move from.  For example,
  41. if you roll 5 2, and you want to move the piece on the 11 point 5, press
  42. 5 1 1.  You don't need to hit return, but if the point number is 1 digit,
  43. you will need to type some non-numeric digit after it to finish the
  44. 2 characters.  After you have used one of your rolls, there are 3 shortcuts
  45. you can use for the remainder of your roll:
  46.     <space bar>    Continues the last move.  The piece you last moved
  47.             is moved by the amount of the other/next roll.
  48.     <return>    Repeat the last move.  The other/next roll is applied
  49.             to the same point you moved from last time.
  50.     p        Make point.  This gets a little tricky.  Ldb attempts
  51.             to use the other/next roll to move one of your pieces
  52.             so that it ends up on the same point as your last move
  53.             ended on.  That is, if you roll 5 2 and use the 5
  54.             to move from the 6 point to the 11 point, and hit "p",
  55.             ldb will move one of your pieces from the 9 point to
  56.             the 11 point to make the 11 point.  This assumes,
  57.             of course, that you have a piece on the 9 point.
  58.  
  59.     Ldb checks your moves for a number of common errors.  These 
  60. are listed in the manual.
  61.  
  62.     For more options, read the manual and the comments at the top
  63. of main.c.
  64.  
  65.     Good luck!
  66.  
  67.                         Perry R. Ross
  68.                         ross@emf780.den.mmc.com
  69.  
  70. -----------------------------------------------------------------------------
  71.  
  72.     Really Scary and Hopefully Bulletproof Legal Statement:
  73.  
  74. This software is copyright 1991 by Perry R. Ross.  Permission to use,
  75. copy, modify, and redistribute it is granted provided:
  76.     (1) It is not sold.
  77.     (2) This notice accompanies all copies, and is kept intact.
  78.     (3) Users do not cheat by any method, including but not limited to:
  79.         A. modifying the roll generated by the random number generator,
  80.         B. modifying the code to provide any roll other than that
  81.            generated by a bona-fide random number generator,
  82.         C. taking advantage of any non-randomness in a random
  83.            number generator to predict upcoming rolls,
  84.         D. changing the contents of an incoming message or of the
  85.            .ldbdata file to modify the normal progression of a
  86.            game in any way, or
  87.         E. generating a roll before offering to double.
  88.        Persons guilty of cheating in any way while using this software
  89.        are denied permission to use or distribute this software
  90.        in perpetuity.  Excluded from the definition of cheating is
  91.        any action whose intention is to test or debug this software,
  92.        as long as the opponent is aware that these actions are being
  93.        performed, and the game is considered "unofficial".
  94. The above restrictions are made in all seriousness, and with every
  95. intention of enforcement by any and all legal means where practical.
  96.  
  97. (Sounds almost as good as the real thing, doesn't it?)
  98.