Fix representation bug

elo elo-tracker-1.0.3
Bram van den Heuvel 2026-07-05 08:37:30 +02:00
parent 76875b61bb
commit 2139e7aee7
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class RoyalGameOfUr(Game):
for i in range(BOARD_LENGTH): for i in range(BOARD_LENGTH):
d[str(i)] = ( d[str(i)] = (
"YOU" if self.board[i][my_index] > 0 else ( "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 (
"" ""
))) )))