]> git.cworth.org Git - loa/blob - README
Add a README file
[loa] / README
1 This is an implementation of the game Lines of Action as invented by
2 Claude Soucie and as published in Sid Sackson's "A Gamut of Games"
3 (1969).
4
5 Building loa
6 ------------
7 It depends on GTK+ and loudmouth. If you're using a Debian system,
8 these libraries can be installed with the following command:
9
10         sudo apt-get install libgtk2.0-dev libloudmouth1-dev
11
12 After that, compiling the game is as simple as:
13
14         make
15
16 And running it is as simple as:
17
18         ./loa
19
20 Rules of Lines of Action (a 2-player game of strategy)
21 ------------------------------------------------------
22 Lines of Action can be played with a standard (English) checkers set,
23 that is an 8x8 board and 12 markers each of contrasting colors
24 ('black' and 'white'). The initial placement has 6 each of the black
25 pieces on the top and bottom rows, and 6 each of the white pieces on
26 the left and right columns leaving the four corner spaces empty. Play
27 begins with the black player and then alternates.
28
29 On each move a piece is moved in a straight line in any of eight
30 directions, (similar to a queen's move in chess), but must be moved
31 exactly the same number of spaces as there are pieces (of either
32 color) in the row, column, or diagonal of the move. A piece may jump
33 over pieces of its own color, but may not jump a piece of the opposite
34 color. The final square of the move can be either empty or can contain
35 a piece of the opposing color, in which case that piece is removed
36 from the game.
37
38 If a player has no possible move, then that player must pass, (but if
39 the player has a possible move, then the player cannot pass).
40
41 The goal of the game is to connect all of your remaining pieces into a
42 single, connected group. Pieces that are diagonally adjacent are
43 considered connected.
44
45 If a move simultaneously creates a winning condition for both players,
46 this is considered a win for the player making the move.
47
48 Notes on this implementation: Moves are made by clicking a piece to
49 move, then clicking the space to move it to. Currently the game works
50 on a single machine, and it doesn't give any indication of a win. It
51 also doesn't provide any way to take a move back nor to back up to see
52 what the previous moves are. It doesn't even do anything when one
53 player wins.
54
55 Yes this is all quite cheesy for now---we plan to make it more
56 interesting as we hook it up to friendlygames.org for network play.