Rev 1 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 11 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | VIATHINKSOFT PEG SOLITAIRE BOARD FILES |
1 | VIATHINKSOFT PEG SOLITAIRE BOARD FILES |
2 | ====================================== |
2 | ====================================== |
3 | 3 | ||
4 | Path and name: Boards\*.brd |
4 | Path and name: Boards\*.brd |
5 | Author: Daniel Marschall |
5 | Author: Daniel Marschall |
6 | Revision: March, 7th 2009 |
6 | Revision: 11 November 2018 |
7 | 7 | ||
8 | == Header sequence == |
8 | == Header sequence == |
9 | 9 | ||
10 | 1 Version/Variant 1 |
10 | line 1: version 2 |
11 | D|N Are diagonal moves allowed or not allowed? |
11 | line 2: mode: normal |
- | 12 | or |
|
12 | ~ End of header |
13 | mode: diagonal |
13 | 14 | ||
14 | == The elements == |
15 | == The elements == |
15 | 16 | ||
16 | X This is a locked field. You cannot place a stone there |
17 | * This is a locked field. You cannot place a stone there. |
- | 18 | . This is a locked field with the width of a half block. Use it for aligning triangle shaped boards. |
|
17 | 3 This is a space with a red (30) stone. |
19 | r Slot with a red (30 pts) stone. |
18 | 2 This is a space with a yellow (20) stone. |
20 | y Slot with a yellow (20 pts) stone. |
19 | 1 This is a space with a green (10) stone. |
21 | g Slot filled with a green (10 pts) stone. |
20 | E This is a space. |
22 | e Empty slot |
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 | 23 | ||
34 | == Hints == |
24 | Uppercase means the slot is a target (where the last stone has to go). |
35 | 25 | ||
36 | Carriage-Return (CR) and Line-feeds (LF) are optional, but they are recommended because |
26 | Whitespaces and extra line breaks are ignored. |
37 | of a better overview. |
- |