-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #285 from chesslablab/issue/268-Document-the-tutor…
…_fen-command Documented the /tutor_fen command
- Loading branch information
Showing
2 changed files
with
24 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,23 @@ | ||
# /tutor_fen | ||
|
||
Explains a FEN position in terms of chess concepts. | ||
|
||
| Name | Description | Required | | ||
| ---- | ----------- | -------- | | ||
| `fen` | A FEN string. | Yes | | ||
| `variant` | `960`<br/>`capablanca`<br/>`capablanca-fischer`<br/>`classical` | Yes | | ||
|
||
## Usage | ||
|
||
### Example | ||
|
||
```js | ||
ws.send('/start classical fen'); | ||
ws.send('/tutor_fen "rnbqkb1r/p1pp1ppp/1p2pn2/8/2PP4/2N2N2/PP2PPPP/R1BQKB1R b KQkq -" classical'); | ||
``` | ||
|
||
```text | ||
{ | ||
"/tutor_fen": "White is totally controlling the center. White has a slight space advantage. Overall, 2 heuristic evaluation features are favoring White while 0 are favoring Black." | ||
} | ||
``` |
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