Check out Atomic Chess, our featured variant for November, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Knightmate. Win by mating the knight. (8x8, Cells: 64) [All Comments] [Add Comment or Rating]
H. G. Muller wrote on Tue, Dec 22, 2020 10:59 AM UTC in reply to Greg Strong from Mon Dec 21 11:21 PM:
files=8 ranks=8 promoZone=1 promoChoice=QRKB graphicsDir=/graphics.dir/alfaeriePNG/ squareSize=50 graphicsType=png symmetry=none pawn:P:ifmnDfmWfceF:pawn:a2,b2,c2,d2,e2,f2,g2,h2,,a7,b7,c7,d7,e7,f7,g7,h7 bishop:B:B:bishop:c1,f1,,c8,f8 rook:R:R:rook:a1,h1,,a8,h8 queen:Q:Q:queen:d1,,d8 king:K:FW:king:b1,g1,,b8,g8 knight:N:isO2N:knight:e1,,e8

The problem was that you defined the Knight first. The order of pieces is important in two ways:

  • if maxPromote=N (default 1) the first N pieces will be promotable
  • if you don't explicitly assign royalty through a royal=N parameter, the piece defined last is the royal

I guess something went wrong in the attempt to promote the Knight when it left the 1st rank. This in combination with the fact that you defined invalid promoChoice (namely lower case, while the defined piece IDs were all upper case).