def __init__(self, board: Board, verbose: bool = False, wait_time: float = 0.0): self.board = board self.rows, self.columns = board.get_size() self.verbose = verbose self.wait_time = wait_time self.wait_cycle_start = 0.0 self.start_time = None self.end_time = None self.duration_in_milli_seconds = None self.guesses = 0 self.guess_locator = None
def __init__(self, board: Board): self.board = board self.rows, self.columns = board.get_size()