[gnome-chess] Try to avoid confusion in claim draw dialog



commit edfda8698bcca40e803274afbce390c811be8bc5
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Jan 27 11:47:43 2019 -0600

    Try to avoid confusion in claim draw dialog
    
    Now that the engine can actually claim draws, it could be confusing if
    the human player chooses not to claim a draw and then the engine
    immediately does so. E.g. when playing against HoiChess, which always
    claims a draw on threefold repetition, there is no difference between
    the two options: if the human player doesn't claim a draw, the engine
    will. This is hard to fix without making substantial changes to how we
    present the result of the game, so let's just try to explain it instead.

 src/gnome-chess.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 12aeef6..4369270 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1457,12 +1457,12 @@ Copyright © 2015–2016 Sahil Sareen""";
         if (game.is_fifty_move_rule_fulfilled ())
         {
             /* Message in claim draw dialog when triggered by fifty-move rule */
-            reason = _("Fifty moves have passed without a capture or pawn advancement.");
+            reason = _("You may claim a draw because fifty moves have passed without a capture or pawn 
advancement. (The computer player may still choose to claim a draw even if you choose to keep playing.)");
         }
         else if (game.is_three_fold_repeat ())
         {
             /* Message in claim draw dialog when triggered by three-fold repetition */
-            reason = _("The current board position has occurred three times.");
+            reason = _("You may claim a draw because the current board position has occurred three times. 
(The computer player may still choose to claim a draw even if you choose to keep playing.)");
         }
         else assert_not_reached ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]