Delay adjudication in janggimodern variant
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 7 Nov 2020 20:09:20 +0000 (21:09 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 7 Nov 2020 20:09:20 +0000 (21:09 +0100)
src/variant.cpp

index bd444cf..6932d3e 100644 (file)
@@ -946,6 +946,7 @@ namespace {
         v->materialCounting = JANGGI_MATERIAL;
         v->moveRepetitionIllegal = true;
         v->nFoldRule = 4; // avoid nFold being triggered before move repetition
+        v->nMoveRule = 100; // avoid adjudication before reaching 200 half-moves
         return v;
     }
     // Casual rules of Janggi, where bikjang and material counting are not considered