Subversion Repositories jumper

Compare Revisions

Regard whitespace Rev HEAD → Rev 1

/trunk/Boards/How to develop levels.txt
3,26 → 3,35
 
Path and name: Boards\*.brd
Author: Daniel Marschall
Revision: 12 November 2018
Revision: March, 7th 2009
 
== Header sequence ==
 
line 1: version 2
line 2: mode: normal
or
mode: diagonal
1 Version/Variant 1
D|N Are diagonal moves allowed or not allowed?
~ End of header
 
== The elements ==
 
* This is a locked field. You cannot place a stone there.
r Slot with a red (30 pts) stone.
y Slot with a yellow (20 pts) stone.
g Slot filled with a green (10 pts) stone.
e Empty slot
X This is a locked field. You cannot place a stone there
3 This is a space with a red (30) stone.
2 This is a space with a yellow (20) stone.
1 This is a space with a green (10) stone.
E This is a space.
* This is handled like a locked field (X), but it has only the half width.
This is necessary if you want to have a playground in a triangle shape.
 
Uppercase means the slot is a target (where the last stone has to go).
== Special chars between the elements ==
 
Dots (.) at the beginning of a line shift the line to the right by a half block size (optical only).
Dots (.) at the end of a line shift the line to the left by a half block size (optical only).
> The next element (which may not be X, * or a line end) is the area,
where the last stone has to go to.
! Between the first and the second line of the matrix, there has to
be an "!". This is neccessary that the width can be detected.
There has to be one "!" in the file. Also, the level has to be complete.
If there are 9 elements before "!", then the level is only valid,
if there are 0, 9, 18, 27, 36, ... elements after the "!".
 
Whitespaces between elements and empty lines are ignored.
== Hints ==
 
Carriage-Return (CR) and Line-feeds (LF) are optional, but they are recommended because
of a better overview.