Annotation of 42BSD/games/backgammon/backgammon.doc, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: BACKGAMMON(PUBLIC)           8/19/83           BACKGAMMON(PUBLIC)
                      4: 
                      5: 
                      6: NAME
                      7:      backgammon - the game of backgammon
                      8: 
                      9: SYNOPSIS
                     10:      _b_a_c_k_g_a_m_m_o_n [ - ] [ n r w b pr pw pb t_t_e_r_m s_f_i_l_e ]
                     11: 
                     12: DESCRIPTION
                     13:      This program lets you play backgammon against  the  computer
                     14:      or against a "friend".  All commands only are one letter, so
                     15:      you don't need to type a carriage return, except at the  end
                     16:      of  a move.  The program is mostly self documenting, so that
                     17:      a question mark (?) will usually  get  some  help.   If  you
                     18:      answer  `y' when the program asks if you want the rules, you
                     19:      will get text explaining the rules of the game,  some  hints
                     20:      on  strategy,  instruction  on how to use the program, and a
                     21:      tutorial consisting of a practice game against the computer.
                     22:      A  description  of how to use the program can be obtained by
                     23:      answering `y' when it asks if you want instructions.
                     24: 
                     25:      The possible arguments for backgammon (most  are  unnecesary
                     26:      but some are very convenient) consist of:
                     27: 
                     28:         _n       don't ask for rules or instructions
                     29:         _r       player is red (implies n)
                     30:         _w       player is white (implies n)
                     31:         _b       two players, red and white (implies n)
                     32:         _p_r      print the board before red's turn
                     33:         _p_w      print the board before white's turn
                     34:         _p_b      print the board before both player's turn
                     35:         _t_t_e_r_m   terminal is type _t_e_r_m, uses /etc/termcap
                     36:         _s_f_i_l_e   recover previously saved game from _f_i_l_e.  (This
                     37:                 can also be done by executing the saved file,
                     38:                 i.e., typing its name in as a command)
                     39: 
                     40:      Arguments may be optionally preceded by a `-'.  Several  ar-
                     41:      guments  may  be concatenated together, but not after `s' or
                     42:      `t' arguments, since they can be followed  by  an  arbitrary
                     43:      string.   Any  unrecognized arguments are ignored.  An argu-
                     44:      ment of a lone `-' gets a description of possible arguments.
                     45: 
                     46:      If _t_e_r_m has capabilities for  direct  cursor  movement  (see
                     47:      ttycap(VII)),  _b_a_c_k_g_a_m_m_o_n "fixes" the board after each move,
                     48:      so the board does not  need  to  be  reprinted,  unless  the
                     49:      screen suffers some horrendous malady.  Also, any `p' option
                     50:      will be ignored.  (The `t' option is  not  necessary  unless
                     51:      the  terminal type does not match the entry in the /etc/htmp
                     52:      data base.)
                     53: 
                     54: QUICK REFERENCE
                     55:      When the program prompts by typing only your color,  type  a
                     56:      space or carriage return to roll, or
                     57: 
                     58:         _d       to double
                     59:         _p       to print the board
                     60:         _q       to quit
                     61: 
                     62:                               - 1 -
                     63: 
                     64: 
                     65: 
                     66: 
                     67: 
                     68: 
                     69: BACKGAMMON(PUBLIC)           8/19/83           BACKGAMMON(PUBLIC)
                     70: 
                     71:         _s       to save the game for later
                     72: 
                     73:      When the program prompts with 'Move:', type
                     74: 
                     75:         _p       to print the board
                     76:         _q       to quit
                     77:         _s       to save the game
                     78: 
                     79:      or a _m_o_v_e, which is a sequence of
                     80: 
                     81:         _s-_f     move from _s to _f
                     82:         _s/_r     move one man on _s the roll _r
                     83: 
                     84:      separated by commas or spaces and  ending  with  a  newline.
                     85:      Available abbreviations are
                     86: 
                     87:         _s-_f_1-_f_2   means _s-_f_1,_f_1-_f_2
                     88:         _s/_r_1_r_2    means _s/_r_1,_s/_r_2
                     89: 
                     90:      Use `b' for bar and `h' for home, or 0 or 25 as appropriate.
                     91: 
                     92: AUTHOR
                     93:      Alan Char
                     94: 
                     95: FILES
                     96:      /_m_n_t/_a_l_a_n/:_t_o_y_s/_t_e_a_c_h_g_a_m_m_o_n- rules and tutorial
                     97:      /_e_t_c/_h_t_m_p                - data base on user's environment
                     98:      /_e_t_c/_t_e_r_m_c_a_p             - terminal capabilities
                     99: 
                    100: BUGS
                    101:      The program's strategy needs much work.
                    102: 
                    103:      /mnt/alan/:toys/teachgammon was removed to preserve space in
                    104:      /usr/public
                    105: 
                    106: COMMENTS
                    107:      The program is still under development, so a description  of
                    108:      any bugs found should be mailed to _a_l_a_n.
                    109: 
                    110:      Because of the dynamic  state  of  the  program  (constantly
                    111:      changing),   the   file   /_m_n_t/_a_l_a_n/:_t_o_y_s/_g_a_m_m_o_n._n_e_w_s  lists
                    112:      current modifications to the program.
                    113: 
                    114: 
                    115: 
                    116: 
                    117: 
                    118: 
                    119: 
                    120: 
                    121: 
                    122: 
                    123: 
                    124: 
                    125: 
                    126: 
                    127: 
                    128:                               - 2 -
                    129: 
                    130: 
                    131: 
                    132: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.