Skip to content

Commit 4d7cf45

Browse files
committed
Update help
1 parent 4a46924 commit 4d7cf45

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

python_easy_chess_gui.py

+30-7
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363

6464
APP_NAME = 'Python Easy Chess GUI'
65-
APP_VERSION = 'v1.16'
65+
APP_VERSION = 'v1.17'
6666
BOX_TITLE = '{} {}'.format(APP_NAME, APP_VERSION)
6767

6868

@@ -131,32 +131,55 @@
131131
black_init_promote_board = [[QUEENB, ROOKB, BISHOPB, KNIGHTB]]
132132

133133

134-
HELP_MSG = """(A) To play a game
134+
HELP_MSG = """The GUI has 2 modes, Play and Neutral. After startup
135+
you are in Neutral mode. You can go to mode Play through Mode menu.
136+
137+
All games are auto-saved in pecg_auto_save_games.pgn.
138+
Visit Game menu in Play mode to see other options to save the game.
139+
140+
It has to be noted you need to setup an engine to make the GUI works.
141+
You can view which engines are ready for use via:
142+
Engine->Set Engine Opponent.
143+
144+
(A) To setup an engine, you should be in Neutral mode.
145+
1. Engine->Manage->Install, press the add button.
146+
2. After engine setup, you can configure the engine options with:
147+
a. Engine->Manage-Edit
148+
b. Select the engine you want to edit and press Modify.
149+
150+
Before playing a game, you should select an engine opponent via
151+
Engine->Set Engine Opponent.
152+
153+
You can also set an engine Adviser in the Engine menu.
154+
During a game you can ask help from Adviser by right-clicking
155+
the Adviser label and press show.
156+
157+
(B) To play a game
135158
You should be in Play mode.
136159
1. Mode->Play
137160
2. Make move on the board
138161
139-
(B) To play as black
162+
(C) To play as black
140163
You should be in Neutral mode
141164
1. Board->Flip
142165
2. Mode->Play
143166
3. Engine->Go
144167
If you are already in Play mode, go back to
145168
Neutral mode via Mode->Neutral
146169
147-
(C) To flip board
170+
(D) To flip board
148171
You should be in Neutral mode
149172
1. Board->Flip
150173
151-
(D) To paste FEN
174+
(E) To paste FEN
152175
You should be in Play mode
153176
1. Mode->Play
154177
2. FEN->Paste
155178
156-
(E) To show engine search info after the move
179+
(F) To show engine search info after the move
157180
1. Right-click on the Opponent Search Info and press Show
158181
159-
(F) To Show book 1 and 2
182+
(G) To Show book 1 and 2
160183
1. Right-click on Book 1 or 2 press Show
161184
"""
162185

0 commit comments

Comments
 (0)