From 5453a8acc3f0ca6793b1947844179ace85b3606f Mon Sep 17 00:00:00 2001 From: Bram van den Heuvel Date: Sun, 5 Jul 2026 08:37:30 +0200 Subject: [PATCH] Fix representation bug --- pyclient/games/ur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyclient/games/ur.py b/pyclient/games/ur.py index 46719be..e50f819 100644 --- a/pyclient/games/ur.py +++ b/pyclient/games/ur.py @@ -106,7 +106,7 @@ class RoyalGameOfUr(Game): for i in range(BOARD_LENGTH): d[str(i)] = ( "YOU" if self.board[i][my_index] > 0 else ( - "ENEMY" if my_index not in SAFE_FIELDS and self.board[i][ot_index] > 0 else ( + "ENEMY" if i not in SAFE_FIELDS and self.board[i][ot_index] > 0 else ( "" )))