pacosako icon indicating copy to clipboard operation
pacosako copied to clipboard

Allow variant "Don't move pair back"

Open kreibaum opened this issue 3 years ago • 2 comments

There is some discussion (Derk, Felix) about whether we should allow directly undoing the opponents (pair) move. The best way to test this out is probably to implement "variant support" into the game engine and then try to play this a bit.

If I remember correctly, the version https://vchess.club/#/variants/Pacosako was implemented like this. It is defunct right now, so I can't check.

kreibaum avatar Dec 14 '21 17:12 kreibaum

IMHO, the most important consideration is, that we should not split the (already small) community over this.

kreibaum avatar Dec 14 '21 17:12 kreibaum

This is now somewhat common practice to ban it in speed games (like 30s+5) so having it enforced by the engine would be valuable.

To do this right, we need to add an explicit "illegal move" that can be emitted for a situation. That would be a move that isn't legal but where we explicitly want to highlight to the player that they can't do it.

Explicit illegal moves would need support in the game ui.

Once we have them, we can also consider them for castling.

As an alternative to "illegal moves" we could also emit a list of "special fields" that can get decorations. Then castling would get a special symbol when it is allowed and en-passant would also get a special symbol.

kreibaum avatar Sep 05 '22 19:09 kreibaum