💡📝H. G. Muller wrote on Wed, May 19, 2021 09:01 PM UTC:
The diagram now has an experimental implementation of repetitions of modifier groups through parenthesizing those. The parentheses must be followed by a number to indicate the maximum number of repetitions.
The minimum number of repetitions is zero, i.e. the parenthized group is optional.
(Refresh browser cache!)
An example is the Cannon in the diagram below: it is defined as (paf)3R.
This expands to RpafRpafpafRpafpafpafR, i.e. a move with 1 to 4 sliding legs,
all in the same (orthogonal) direction,
which all except the final one must end on an occupied square (p).
That means it is a multi-hopper, which can hop over up to 3 pieces.
As other examples the diagram defines a Mao-rider and and a Quintessence.
The implementation is done through expanding the text string before feeding it to the Betza parser.
At most a single pair of parentheses can occur per atom,
otherwise the result will be undefined.
The diagram now has an experimental implementation of repetitions of modifier groups through parenthesizing those. The parentheses must be followed by a number to indicate the maximum number of repetitions. The minimum number of repetitions is zero, i.e. the parenthized group is optional. (Refresh browser cache!)
An example is the Cannon in the diagram below: it is defined as (paf)3R. This expands to RpafRpafpafRpafpafpafR, i.e. a move with 1 to 4 sliding legs, all in the same (orthogonal) direction, which all except the final one must end on an occupied square (p). That means it is a multi-hopper, which can hop over up to 3 pieces.
As other examples the diagram defines a Mao-rider and and a Quintessence. The implementation is done through expanding the text string before feeding it to the Betza parser. At most a single pair of parentheses can occur per atom, otherwise the result will be undefined.