I overwrote log with TJChess test.Evert wrote:Do you have a log file or the position where it happened?
TJChess test going fine so far.
Moderator: Ras
I overwrote log with TJChess test.Evert wrote:Do you have a log file or the position where it happened?
Indeed, you have to ignore King and Rook when testing for emptiness of the King and Rook trajectories.Evert wrote:Ok, it looks like there's an issue if the rook is between the king and the place where the king ends up: Sjaak tests whether the space between the king and rook is empty, but that's not enough in this situation.
TJChess test (36 FRC games) ran flawlessly.Matthias Gemuh wrote:I overwrote log with TJChess test.Evert wrote:Do you have a log file or the position where it happened?
TJChess test going fine so far.
I do that, but what I don't do is test properly whether the route to the destination is free.pot differently there is an assumption that the destination is between the king and the rook.hgm wrote:Indeed, you have to ignore King and Rook when testing for emptiness of the King and Rook trajectories.Evert wrote:Ok, it looks like there's an issue if the rook is between the king and the place where the king ends up: Sjaak tests whether the space between the king and rook is empty, but that's not enough in this situation.
Remember that the King sometimes does not move during FRC castling.Evert wrote:I do that, but what I don't do is test properly whether the route to the destination is free.pot differently there is an assumption that the destination is between the king and the rook.hgm wrote:Indeed, you have to ignore King and Rook when testing for emptiness of the King and Rook trajectories.Evert wrote:Ok, it looks like there's an issue if the rook is between the king and the place where the king ends up: Sjaak tests whether the space between the king and rook is empty, but that's not enough in this situation.
There's also an issue with the relative position of origin and destination squares I when castling long, the king I'd assumed to move to the left (white's perspective).this isn't necessarily true.
I know, not a problem.Matthias Gemuh wrote: Remember that the King sometimes does not move during FRC castling.
BTW, I do not recommend switching to this version yet.Matthias Gemuh wrote:I have added the new approach.Evert wrote:...
nothing in the protocol says I have to work around GUI bugs.
...![]()
http://biglion.bplaced.net/chess/ChessGUI.zip
Unfortunately, I cannot test it in Chess960 using Sjaak because Sjaak has bugs !
Someone should try TJChess in WB mode and give feedback. Thanks.
Matthias.