Skip to content

Commit

Permalink
Updated the docs on the /randomize command
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Feb 7, 2025
1 parent d8edda8 commit eb8d629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/randomizer.md → docs/randomize.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /randomizer
# /randomize

Starts a random position.

Expand Down Expand Up @@ -29,12 +29,12 @@ The piece composition string as per these options.
Get a random position with white to move; King and queen and rook vs. king and rook.

```js
ws.send('/randomizer "{\\"turn\\":\\"w\\",\\"items\\":{\\"w\\":\\"QR\\",\\"b\\":\\"R\\"}}"');
ws.send('/randomize "{\\"turn\\":\\"w\\",\\"items\\":{\\"w\\":\\"QR\\",\\"b\\":\\"R\\"}}"');
```

```text
{
"/randomizer": {
"/randomize": {
"turn": "w",
"fen": "1K1R4/8/4k3/8/3Q4/r7/8/8 w - -"
}
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ nav:
- /play_lan: play-lan.md
- /play_rav: play-rav.md
- /plot: plot.md
- /randomizer: randomizer.md
- /randomize: randomize.md
- /recognize: recognize.md
- /resign: resign.md
- /restart: restart.md
Expand Down

0 comments on commit eb8d629

Please sign in to comment.