and the 2nd and 7th rank of the opening setup will be filled with them.\r
These pieces will automatically promote to piece number 7 when they \r
reach last rank. So in normal Chess, piece 7 should be programmed as Queen.\r
+There is one exception to this: if the initial setup does have a white\r
+piece 7, but not a black one, and black has a piece number 9, then\r
+black will always promote to the latter. (This can be useful in variants\r
+with different armies for black and white).\r
\r
Castling can be done only with the original corner piece as specified\r
by line 2 and 3. Any royal piece can in principle castle. (Subject to \r
note that uMax does do primitive evaluation of Pawn structure, which might\r
become counter-productive if the Pawn move is changed.\r
\r
-\r
+A low digit equal to 4 gets special treatment, as the normal interpretation as\r
+the last and only step of a move which can neither capture nor move is useles.\r
+It will in stead be used as if it was 0 (i.e. there is a follow-up step),\r
+but only if the piece has not moved before. If the 1 or 2 bit of the preceding\r
+toggle digit are set, they then determine what the move can do after this second\r
+step, in the normal way. (For pawn double-push and castling this would normally\r
+be a non-capture.) The 4 and 8 bits of this toggle digit are not used for\r
+toggling the leaper and hopper bits, though, but indicate if e.p. capture\r
+on the reply should be suppressed, and if the move should be allowed to continue\r
+even if the first step hits an occupied square.\r
\r
For the truly lazy, a few complete game descriptions can be found below:\r
\r
Game: fairy/FIDE-Clobberers\r
8x8\r
6 4 5 7 3 5 4 6\r
-11 9 10 12 8 10 9 11\r
+12 10 11 9 8 11 10 12\r
p:100 -16,24 -16,6 -15,5 -17,5 \r
p:100 16,24 16,6 15,5 17,5\r
k:-1 1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
R:500 16,3 -16,3 -1,3 1,3\r
Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
k:-1 1,34 -1,1034 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+A:875 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
e:320 30,7 34,7 -30,7 -34,7 16,7 -16,7 1,7 -1,7\r
c:480 15,7 17,7 -15,7 -17,7 32,7 -32,7 2,7 -2,7 30,7 34,7 -30,7 -34,7\r
l:530 15,3 17,3 -15,3 -17,3 32,7 -32,7 2,7 -2,7\r
-A:875 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+m:275 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
+H:560 14,3 31,3 33,3 18,3 -14,3 -31,3 -33,3 -18,3\r
+\r
+// Set for Chess with Different Armies, FIDE vs Color-bound Cloberers (legality-testing off!)\r
+Game: fairy/FIDE-Nutters\r
+8x8\r
+6 4 5 7 3 5 4 6\r
+12 10 11 9 8 11 10 12\r
+p:100 -16,24 -16,6 -15,5 -17,5 \r
+p:100 16,24 16,6 15,5 17,5\r
+k:-1 1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+n:325 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+b:350 15,3 17,3 -15,3 -17,3\r
+R:500 16,3 -16,3 -1,3 1,3\r
+Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
+k:-1 1,34 -1,1034 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+A:990 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 -14,7 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+e:300 31,7 33,7 15,7 17,7 -31,7 -33,7 -15,7 -17,7 \r
+c:335 31,7 33,7 14,7 18,7 1,7 -1,7 -16,7 -15,7 -17,7\r
+l:480 16,3 1,3 -1,3 -16,7 -15,7 -17,7\r
m:275 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
H:560 14,3 31,3 33,3 18,3 -14,3 -31,3 -33,3 -18,3\r
\r