Skip to content

Commit 70cce7f

Browse files
committed
Improve Set Book box.
1 parent 1c990dc commit 70cce7f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

python_easy_chess_gui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3323,13 +3323,15 @@ def main_loop(self):
33233323
current_max_book_ply = self.max_book_ply
33243324

33253325
layout = [
3326+
[sg.Text('This is the book used by your '
3327+
'engine opponent.')],
33263328
[sg.T('Book File', size=(8, 1)),
33273329
sg.T(self.gui_book_file, size=(36, 1), relief='sunken')],
33283330
[sg.T('Max Ply', size=(8, 1)),
33293331
sg.Spin([t for t in range(1, 33, 1)],
33303332
initial_value=self.max_book_ply,
33313333
size=(6, 1), key='book_ply_k')],
3332-
[sg.CBox('GUI book', key = 'use_gui_book_k',
3334+
[sg.CBox('Use book', key = 'use_gui_book_k',
33333335
default=self.is_use_gui_book)],
33343336
[sg.Radio('Best move', 'Book Radio',
33353337
default = False if self.is_random_book else True),

0 commit comments

Comments
 (0)