Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rook pre-move captures fail to execute #19

@LupoCani

Description

@LupoCani

Here's another issue relating to pre-moves not executing as expected. Specifically, dodge-retaliate captures tend to fail when they're (pre-set to be) done by rooks on the first rank. Instead, the rook remains in place when the cooldown runs out. I think it's unrelated to #17 insofar as the game simultaneously proceeds without disruption on the rest of the board.

This one has turned out to be difficult to replicate manually, but it will show up playing against the AI enough times. So far I have two known replays of the problem occurring, https://www.kungfuchess.org/game/139802 (on a1) and https://www.kungfuchess.org/game/139829 (on g2), but since pre-moves only show up in replays when you're logged in as the original player, I've attached the following screenshots of the critical moments in question.

First game:

kfc-a1
kfc-a2
kfc-a3
kfc-a4

Second game:

kfc-b2
kfc-b1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions