|
@@ -2,7 +2,7 @@
|
|
|
import time
|
|
import time
|
|
|
from strategy import State, moves_to_keys
|
|
from strategy import State, moves_to_keys
|
|
|
from interaction import get_exapunks_window, focus_window, \
|
|
from interaction import get_exapunks_window, focus_window, \
|
|
|
- screenshot_board, press_keys
|
|
|
|
|
|
|
+ screenshot_board, press_keys
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
@@ -25,11 +25,6 @@ if __name__ == '__main__':
|
|
|
state.print()
|
|
state.print()
|
|
|
print()
|
|
print()
|
|
|
|
|
|
|
|
- #if state.has_holes():
|
|
|
|
|
- # print('parsed board has holes, wait for a bit')
|
|
|
|
|
- # time.sleep(.1)
|
|
|
|
|
- # continue
|
|
|
|
|
-
|
|
|
|
|
moves = state.solve()
|
|
moves = state.solve()
|
|
|
|
|
|
|
|
if moves:
|
|
if moves:
|