mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-28 21:54:17 -08:00
Use NamedTuple; Fix camelCase->snake_case
This commit is contained in:
@@ -356,7 +356,7 @@ class Qubit:
|
||||
break
|
||||
print("Incorrect answer. Please type 'yes' or 'no'.")
|
||||
|
||||
skipHuman = s[0] in "nN"
|
||||
skip_human = s[0] in "nN"
|
||||
|
||||
move_text = [
|
||||
"Machine moves to",
|
||||
@@ -368,9 +368,9 @@ class Qubit:
|
||||
]
|
||||
|
||||
while True:
|
||||
if not skipHuman and not self.human_move(board):
|
||||
if not skip_human and not self.human_move(board):
|
||||
break
|
||||
skipHuman = False
|
||||
skip_human = False
|
||||
|
||||
m = board.machine_move()
|
||||
assert m is not None
|
||||
|
||||
Reference in New Issue
Block a user