Made it work again, automatic goal moves messing with me though
This commit is contained in:
@@ -42,7 +42,7 @@ def solve(conf: configuration.Configuration) -> None:
|
||||
board = parse_start_board(image, conf)
|
||||
assert board.check_correct()
|
||||
actions = extern_solve(board)
|
||||
assert 0
|
||||
print(actions)
|
||||
print(f"Solved in {len(actions)} steps")
|
||||
clicker.handle_actions(actions, OFFSET, conf)
|
||||
print("Solved")
|
||||
|
||||
@@ -75,6 +75,10 @@ def main() -> None:
|
||||
conf.hua_adjustment = adjustment.adjust_squares(
|
||||
image, count_x=1, count_y=1, adjustment=copy.deepcopy(conf.hua_adjustment)
|
||||
)
|
||||
print("Special button")
|
||||
conf.special_button_adjustment = adjustment.adjust_squares(
|
||||
image, count_x=1, count_y=3, adjustment=copy.deepcopy(conf.special_button_adjustment)
|
||||
)
|
||||
|
||||
configuration.save(conf, args.config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user