You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to code a variant similar to Kinglet where if all instances of a piece are in their promoted form, it triggers a loss by the extinction rule. This appears to work with the extinction options, but has an issue when used with the extinctionPseudoRoyal = true option. When set to true, promotion of the extinction piece no longer triggers a loss and validates moves that would trigger a loss. Please find a minimal test case below:
The expected behavior is that after moving one royal piece, the second should not be able to move, and if it does then a loss results (the later occurs without the extinctionPseudoRoyal option set). See diagrams below:
Starting position:
After moving the two extinction pieces, triggering promotion:
Note that Kinglet does not use pseudoroyal, so one can lose by moving to promote one's last pawn. I understand this is somewhat of an edge-case to the extinction rules so may not be a high priority, but it's a neat feature I'm exploring so I would appreciate a change if there's ever time available. :)
The text was updated successfully, but these errors were encountered:
I think this currently would be considered expected behavior, since pseudo-royalty was designed as a workaround for multiple royal pieces that can not be supported, and capturing/removal of royal pieces is not considered game ending, since only checkmating them ends the game. This might be a bit surprising given the terminology, but that is how it currently is handled. The only exception are atomic variants, since there capturing a (pseudo-)royal piece without checking it first actually is possible.
It would probably make sense to in the future expose less of that workaround to the user and handle it more internally and treating it as royal to the outside, although that isn't trivial.
I would like to code a variant similar to Kinglet where if all instances of a piece are in their promoted form, it triggers a loss by the extinction rule. This appears to work with the extinction options, but has an issue when used with the
extinctionPseudoRoyal = true
option. When set totrue
, promotion of the extinction piece no longer triggers a loss and validates moves that would trigger a loss. Please find a minimal test case below:The expected behavior is that after moving one royal piece, the second should not be able to move, and if it does then a loss results (the later occurs without the
extinctionPseudoRoyal
option set). See diagrams below:Starting position:
After moving the two extinction pieces, triggering promotion:
Note that Kinglet does not use pseudoroyal, so one can lose by moving to promote one's last pawn. I understand this is somewhat of an edge-case to the extinction rules so may not be a high priority, but it's a neat feature I'm exploring so I would appreciate a change if there's ever time available. :)
The text was updated successfully, but these errors were encountered: