User Activity

  • Posted a comment on ticket #352 on ChessX

    I made a screen recording showing the long delay when adding moves. Sorry for the low resolution, had to compress it to get it to upload.

  • Created ticket #352 on ChessX

    ChessX is inefficient when making moves on very large games

  • Posted a comment on ticket #344 on ChessX

    Took a look at the commit - does it account for the scenario where en passant rights actually DO affect three-fold repetition?

  • Posted a comment on ticket #344 on ChessX

    So any time a BoardX's hash is generated in BoardX::createHash, it runs BoardX::hashEpSquare, which XORs the en passant square onto the hash, defined by BoardX::m_epFile as the "file of a possible ep capture". Therefore, the hash state of a board where a pawn was just pushed two squares, even if no en passant is possible, is different from the hash state two moves later when the board looks exactly the same.

  • Posted a comment on ticket #344 on ChessX

    Another related fix might be improving the efficiency of GameX::positionRepetition for very long games (hundreds of moves). As it is, if I'm understanding the code correctly, the method checks every past board hash. However, it is not necessary to check beyond the most recent pawn move or capture, as no position before then can possibly be identical to the current one.

  • Modified a comment on ticket #344 on ChessX

    So in GameX::positionRepetition, position equality is determined using the == operator for BoardX objects. In that operator, board equality is determined using the board's getHashValue method, which seems to be related somehow to the position's FEN.

  • Posted a comment on ticket #344 on ChessX

    So in GameX::positionRepetition, position equality is determined using the == operator for BoardX objects. Therefore, the bug must be found there.

  • Created ticket #344 on ChessX

    Mistake in Threefold Repetition Rule relating to En Passant

View All

Personal Data

Username:
aam111
Joined:
2024-03-03 22:32:27.417000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB