From a449a8be8a576bd1d5dd348ec849796a661707c0 Mon Sep 17 00:00:00 2001 From: chocolatebakery Date: Sat, 1 Jun 2024 08:57:01 +0000 Subject: [PATCH] Small contribution on a compatible anti/giveaway variant --- src/variants.ini | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/variants.ini b/src/variants.ini index 383b7ba..7eaeafb 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -1973,3 +1973,13 @@ flagPiece = k flagRegionWhite = *8 flagRegionBlack = *1 startFen = lhatkahl/ssssssss/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1 + +#https://www.chessvariants.com/diffobjective.dir/giveaway.html +#When stalemate, the stalemated player does not move but the opponent can if he wish to play for win go on moving and do as many moves he wants to do. +#If the stalemate then disappear, both players move again as usual. So, if white for example has a pawn on h2 and nothing more and black a pawn on h3, pawn on a7 and rooks on a8 and h8 +# black can win by moving : 1.-,Rh4 2.-, a5. 3.-, a4 4.- Ra5 5.-,a3 6.-,a2 7.-,a1=R 8.-,Rg1 9.-,Rg3 10.hxg3,h2 11.gxh4,Rg5 12.hxg5,h1=Q 13.g6,Qh7 14.gxh7 and black has won. +[andersgiveaway:giveaway] +passOnStalemate = true + +[andersanti:antichess] +passOnStalemate = true -- 1.7.0.4