-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the docs on the /tutor_good_pgn command
- Loading branch information
1 parent
eb8d629
commit 54255d8
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# /tutor_good_pgn | ||
|
||
Explains the why of a good move in terms of chess concepts. | ||
|
||
--- | ||
|
||
### Usage | ||
|
||
#### Example | ||
|
||
Starts a classical game to play 1.e4 e5 2.f4 asking the chess tutor for a good move. | ||
|
||
```js | ||
ws.send('/start "{\\"variant\\":\\"classical\\",\\"mode\\":\\"analysis\\"}"'); | ||
ws.send('/play_lan "{\\"color\\":\\"w\\",\\"lan\\":\\"e2e4\\"}"'); | ||
ws.send('/play_lan "{\\"color\\":\\"b\\",\\"lan\\":\\"e7e5\\"}"'); | ||
ws.send('/play_lan "{\\"color\\":\\"w\\",\\"lan\\":\\"f2f4\\"}"'); | ||
ws.send('/tutor_good_pgn'); | ||
``` | ||
|
||
```text | ||
{ | ||
"/tutor_good_pgn": { | ||
"pgn": "c5", | ||
"paragraph": "White has a moderate control of the center. White has a slight space advantage. These pieces are hanging: The rook on a1, the rook on h1, the rook on a8, the rook on h8, the pawn on e4, the pawn on c5. Overall, 3 evaluation features are favoring White." | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters