Rev 11 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | VIATHINKSOFT PEG SOLITAIRE BOARD FILES |
2 | ====================================== |
||
3 | |||
4 | Path and name: Boards\*.brd |
||
5 | Author: Daniel Marschall |
||
6 | Revision: March, 7th 2009 |
||
7 | |||
8 | == Header sequence == |
||
9 | |||
10 | 1 Version/Variant 1 |
||
11 | D|N Are diagonal moves allowed or not allowed? |
||
12 | ~ End of header |
||
13 | |||
14 | == The elements == |
||
15 | |||
16 | X This is a locked field. You cannot place a stone there |
||
17 | 3 This is a space with a red (30) stone. |
||
18 | 2 This is a space with a yellow (20) stone. |
||
19 | 1 This is a space with a green (10) stone. |
||
20 | E This is a space. |
||
21 | * This is handled like a locked field (X), but it has only the half width. |
||
22 | This is necessary if you want to have a playground in a triangle shape. |
||
23 | |||
24 | == Special chars between the elements == |
||
25 | |||
26 | > The next element (which may not be X, * or a line end) is the area, |
||
27 | where the last stone has to go to. |
||
28 | ! Between the first and the second line of the matrix, there has to |
||
29 | be an "!". This is neccessary that the width can be detected. |
||
30 | There has to be one "!" in the file. Also, the level has to be complete. |
||
31 | If there are 9 elements before "!", then the level is only valid, |
||
32 | if there are 0, 9, 18, 27, 36, ... elements after the "!". |
||
33 | |||
34 | == Hints == |
||
35 | |||
36 | Carriage-Return (CR) and Line-feeds (LF) are optional, but they are recommended because |
||
37 | of a better overview. |