[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
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.