Compare commits
No commits in common. "5453a8acc3f0ca6793b1947844179ace85b3606f" and "842d9d3da5627d383d7c1f81bbfcfdf383710a89" have entirely different histories.
5453a8acc3
...
842d9d3da5
|
|
@ -94,7 +94,6 @@ class RoyalGameOfUr(Game):
|
||||||
d : dict[str, Any] = dict(
|
d : dict[str, Any] = dict(
|
||||||
enemies_at_start=self.board[0][ot_index],
|
enemies_at_start=self.board[0][ot_index],
|
||||||
enemies_at_finish=self.board[BOARD_LENGTH-1][ot_index],
|
enemies_at_finish=self.board[BOARD_LENGTH-1][ot_index],
|
||||||
roll=self.roll,
|
|
||||||
safe_fields=list(SAFE_FIELDS),
|
safe_fields=list(SAFE_FIELDS),
|
||||||
stack_fields=list(STACK_FIELDS),
|
stack_fields=list(STACK_FIELDS),
|
||||||
star_fields=list(STAR_FIELDS),
|
star_fields=list(STAR_FIELDS),
|
||||||
|
|
@ -106,7 +105,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 i not in SAFE_FIELDS and self.board[i][ot_index] > 0 else (
|
"ENEMY" if my_index not in SAFE_FIELDS and self.board[i][ot_index] > 0 else (
|
||||||
""
|
""
|
||||||
)))
|
)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue