mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-04-28 11:53:21 -07:00
Run black on queen.py to fix Flake8 formatting complaint
This commit is contained in:
@@ -117,9 +117,9 @@ COMPUTER_SAFE_SPOTS: Final[FrozenSet[Tuple[int, int]]] = frozenset(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# These are the places that the computer will always try to move into.
|
# These are the places that the computer will always try to move into.
|
||||||
COMPUTER_PREF_MOVES: Final[
|
COMPUTER_PREF_MOVES: Final[FrozenSet[Tuple[int, int]]] = (
|
||||||
FrozenSet[Tuple[int, int]]
|
COMPUTER_SAFE_SPOTS | frozenset([WIN_LOC])
|
||||||
] = COMPUTER_SAFE_SPOTS | frozenset([WIN_LOC])
|
)
|
||||||
|
|
||||||
# These are the locations (not including the win location) from which either player can
|
# These are the locations (not including the win location) from which either player can
|
||||||
# force a win (but the computer will always choose one of the COMPUTER_PREF_MOVES).
|
# force a win (but the computer will always choose one of the COMPUTER_PREF_MOVES).
|
||||||
|
|||||||
Reference in New Issue
Block a user