'Refactored by Sourcery'

This commit is contained in:
Sourcery AI
2023-05-24 23:55:27 +00:00
committed by amjad
parent 7c1e336f14
commit 71d02673a9
70 changed files with 582 additions and 835 deletions

View File

@@ -31,7 +31,11 @@ def play_game() -> None:
for _ in range(5):
while True:
mine = mine_position()
if not (mine in mines or mine == (1, 1, 1) or mine == (3, 3, 3)):
if (
mine not in mines
and mine != (1, 1, 1)
and mine != (3, 3, 3)
):
break
mines.append(mine)
wager = -1