We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69ffeef commit 34d87aaCopy full SHA for 34d87aa
1 file changed
tictactoe/egtb.py
@@ -37,7 +37,7 @@ def save_results(self) -> str:
37
Save the EGTB.
38
:return: The sha256 checksum of the contents of the EGTB file.
39
"""
40
- logger.debug(f"Saving the EGTB.")
+ logger.debug("Saving the EGTB.")
41
name = f"{'_'.join(map(str, self.dimensions))}-{self.x_in_a_row}-{self.pieces}.ttb"
42
with open(name, "wb") as file:
43
for eight_bits in re.findall(r"\d{1,8}", "".join(self.results)):
@@ -61,7 +61,7 @@ def get_all_board(self) -> None:
61
62
Generate the EGTB.
63
64
- logger.debug(f"Generating the EGTB.")
+ logger.debug("Generating the EGTB.")
65
total_squares = functools.reduce(operator.mul, self.dimensions)
66
empty_squares = total_squares - self.pieces
67
number_of_x = self.pieces // 2 + self.pieces % 2
0 commit comments