Rules for Lines of Action
 =========================

 Lines of Action (LoA) was invented by Claude Soucie in the 1960s.

 This file was adapted from the rules on Richard's PBeM server.

 The object of the game is to move all of your pieces into a single
 connected group.  Pieces may be connected diagonally or orthogonally.
 For example, the group on the left is connected, but the pieces on
 the right form two groups.


         . . W W . . .             . . W W . . .
         . W W . W . .             . W W . . . .
         W . . . W . .             W . . . W . .
         W . . . . W .             W . . . . W .


 Initial board layout:

      +-----------------+
    8 | . B B B B B B . |
    7 | W . . . . . . W |
    6 | W . . . . . . W |
    5 | W . . . . . . W |
    4 | W . . . . . . W |
    3 | W . . . . . . W |
    2 | W . . . . . . W |
    1 | . B B B B B B . |
      +-----------------+
        a b c d e f g h

 Movement:

 Black moves first, and players alternate, moving one piece per turn.

 A piece may move horizontally, vertically, or diagonally. 

 Along a given line, the distance a piece moves is the same as the
 total number of pieces (of both colours) on that line.

 You may jump over your own pieces, but not your opponent's pieces. 

 You may land on and capture your opponent's pieces, which are then
 removed from the game.  You may not land on your own pieces.

 Movement Examples:

      +-----------------+
    8 | . . . . . . . . |
    7 | . . . . . . . . |
    6 | . . . . . . . . |
    5 | W . . B . B . W |
    4 | . . . . . . . . |
    3 | . . . . . . . . |
    2 | . . . . . . . . |
    1 | . . . . . . . . |
      +-----------------+
        a b c d e f g h

 Along the fifth row, each piece must move four spaces, since there
 are four pieces on the row.  Neither White piece can move horizontally,
 being blocked by the opponent's pieces.  The Black piece on f5 can
 move to b5.  The Black piece on d5 can capture the White piece on h5.

 From the initial position, the three legal moves for the piece on b1
 are b1-b3, b1-d3, and b1-h1.  Black can play a capture move like f8:h6
 on the first move of the game.