master > master: code py - bessere Darstellung für moves

This commit is contained in:
RD 2022-06-09 18:16:07 +02:00
parent 760bff11f2
commit 61e49f19e0
1 changed files with 2 additions and 2 deletions

View File

@ -56,9 +56,9 @@ def represent_cost_matrix(
match verb:
case VerboseMode.MOVES:
table[3:(3+m), 3:(3+n)] = '.';
table[3:(3+m), 3:(3+n)] = '\x1b[2m.\x1b[0m';
for (i, j) in path:
table[3 + i, 3 + j] = '*';
table[3 + i, 3 + j] = '\x1b[31;1m*\x1b[0m';
case VerboseMode.COSTS | VerboseMode.COSTS_AND_MOVES:
table[3:(3+m), 3:(3+n)] = Costs.copy();
if verb == VerboseMode.COSTS_AND_MOVES: