src/main.c

changeset 174
2929e86c4817
parent 163
2a6d83f4677e
--- a/src/main.c	Fri Aug 14 13:40:26 2026 +0200
+++ b/src/main.c	Fri Aug 14 13:52:27 2026 +0200
@@ -846,6 +846,8 @@
                 addstr("The game ended remis.\n");
             } else if (gamestate->stalemate) {
                 addstr("The game ended in a stalemate.\n");
+            } else if (gamestate->threefold) {
+                addstr("The game was drawn after threefold repetition.\n");
             } else if (gamestate->checkmate) {
                 printw("%s was checkmated.\n",
                     gamestate->movecount % 2 == 0 ? "White" : "Black");

mercurial