Fri, 14 Aug 2026 13:52:27 +0200
add info text in game review for threefold repetition
relates to #843
| src/main.c | file | annotate | diff | comparison | revisions |
--- 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");