Added spacer to oberon games waiting output
This commit is contained in:
parent
0d6bd528ba
commit
3a1a260196
3
oberon
3
oberon
|
@ -183,7 +183,8 @@ def available_moves():
|
|||
if len(p1) + len(p2) > 0:
|
||||
p1 = ', '.join(str(x) for x in p1)
|
||||
p2 = ', '.join(str(x) for x in p2)
|
||||
print('\033[1;32mIt is your turn in the following game(s): {}{}\033[0m'.format(p1, p2))
|
||||
spacer = ', ' if p1 and p2 else ''
|
||||
print('\033[1;32mIt is your turn in the following game(s): {}{}{}\033[0m'.format(p1, spacer, p2))
|
||||
else:
|
||||
print('It is not your turn in any games...\n')
|
||||
|
||||
|
|
Loading…
Reference in New Issue