Skip to content

Commit 7e38836

Browse files
committed
Update python_easy_chess_gui.py
* Fix user draws adjudication while engine is searching.
1 parent 65914a3 commit 7e38836

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python_easy_chess_gui.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454

5555
APP_NAME = 'Python Easy Chess GUI'
56-
APP_VERSION = 'v0.71'
56+
APP_VERSION = 'v0.72'
5757
BOX_TITLE = '{} {}'.format(APP_NAME, APP_VERSION)
5858

5959

@@ -1583,6 +1583,7 @@ def play_game(self, engine_id_name, board):
15831583
is_search_stop_for_user_wins = True
15841584

15851585
if button == 'User Draws::user_draws_k':
1586+
search.stop()
15861587
is_search_stop_for_user_draws = True
15871588

15881589
search.join()

0 commit comments

Comments
 (0)