continued unittesting

This commit is contained in:
2025-09-22 19:43:52 +02:00
parent dcd89fd94f
commit 90945f2e60
8 changed files with 275 additions and 22 deletions

View File

@@ -21,7 +21,8 @@ class Printer:
def playermove(self, player1, player1_char, player2_char):
while True:
next_move_x = int(input(f"Player {1 if player1 else 2} ({player1_char if player1 else player2_char}), please choose the x (horizontal) coordinates of your next move: "))
next_move_x = int(input(f"Player {1 if player1 else 2} ({player1_char if player1 else player2_char}), "
f"please choose the x (horizontal) coordinates of your next move: "))
if next_move_x in list(range(3)):
break
else: