From eb8d629942c46f79b4068378cc0082481bcc0576 Mon Sep 17 00:00:00 2001 From: standard Date: Fri, 7 Feb 2025 12:36:28 +0100 Subject: [PATCH] Updated the docs on the /randomize command --- docs/{randomizer.md => randomize.md} | 6 +++--- mkdocs.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename docs/{randomizer.md => randomize.md} (79%) diff --git a/docs/randomizer.md b/docs/randomize.md similarity index 79% rename from docs/randomizer.md rename to docs/randomize.md index 0296bfd5..470a8ec4 100644 --- a/docs/randomizer.md +++ b/docs/randomize.md @@ -1,4 +1,4 @@ -# /randomizer +# /randomize Starts a random position. @@ -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 - -" } diff --git a/mkdocs.yml b/mkdocs.yml index 89aaf1c0..089a6946 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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