The Chess Variant Pages




[ 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

Pink Chess. White has two Kings, black two Queens as royal pieces.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on 2021-06-06 UTC

OK thanks. The problem was that the improvised way in which the UI passed the moves to the AI only worked correctly for Pawn moves (fD or fA). It always passed only a single e.p. square, and if a forward step was made, this was rounded to the square of origin. On sideway orthogonal moves it even crashed the code through division by 0.

This should be fixed now. (Refresh browser cache!)

I am still not entirely happy with it, as when you pass through a check by a non-Pawn it doesn't actually perform the winning capture, but just continues with another move. So while playing you have to be careful not to make illegal moves with the royal Queens. Fortunately the UI will always gray out those. I will try to fix that later.