From 8634d26cd3c5d352f2a897aca599515c30c1e6c7 Mon Sep 17 00:00:00 2001 From: SmashedFrenzy16 Date: Mon, 27 Nov 2023 15:41:45 +0000 Subject: [PATCH 1/4] Create stockfish.md --- docs/stockfish.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/stockfish.md diff --git a/docs/stockfish.md b/docs/stockfish.md new file mode 100644 index 00000000..af6af6bb --- /dev/null +++ b/docs/stockfish.md @@ -0,0 +1,23 @@ +# /stockfish + +Play a game with the Stockfish engine. + +| Name | Description | Required | +| ---- | ----------- | -------- | +| `-t minutes` | Play a game against Stockfish with a time limit in minutes | No | +| `-b` | Play a game of chess against Stockfish with the black pieces | No | +| `-w` | Play a game of chess against Stockfish with the white pieces | No | + +## Usage + +### Example + +```js +ws.send('/stockfish'); +``` + +```text +1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. Nxe5 +``` + +This output shows what moves Stockfish has played throughout the game. The output varies depending on the game played. From c10ed58d44e6cbbd49b62cb5bdf61e9a287eb370 Mon Sep 17 00:00:00 2001 From: SmashedFrenzy16 Date: Mon, 27 Nov 2023 15:42:47 +0000 Subject: [PATCH 2/4] Delete docs/stockfish.md --- docs/stockfish.md | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 docs/stockfish.md diff --git a/docs/stockfish.md b/docs/stockfish.md deleted file mode 100644 index af6af6bb..00000000 --- a/docs/stockfish.md +++ /dev/null @@ -1,23 +0,0 @@ -# /stockfish - -Play a game with the Stockfish engine. - -| Name | Description | Required | -| ---- | ----------- | -------- | -| `-t minutes` | Play a game against Stockfish with a time limit in minutes | No | -| `-b` | Play a game of chess against Stockfish with the black pieces | No | -| `-w` | Play a game of chess against Stockfish with the white pieces | No | - -## Usage - -### Example - -```js -ws.send('/stockfish'); -``` - -```text -1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. Nxe5 -``` - -This output shows what moves Stockfish has played throughout the game. The output varies depending on the game played. From 0a755577b66d3e504659755edf29cd39bcd153a4 Mon Sep 17 00:00:00 2001 From: SmashedFrenzy16 Date: Mon, 27 Nov 2023 15:43:28 +0000 Subject: [PATCH 3/4] Create stockfish.md --- docs/stockfish.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/stockfish.md diff --git a/docs/stockfish.md b/docs/stockfish.md new file mode 100644 index 00000000..af6af6bb --- /dev/null +++ b/docs/stockfish.md @@ -0,0 +1,23 @@ +# /stockfish + +Play a game with the Stockfish engine. + +| Name | Description | Required | +| ---- | ----------- | -------- | +| `-t minutes` | Play a game against Stockfish with a time limit in minutes | No | +| `-b` | Play a game of chess against Stockfish with the black pieces | No | +| `-w` | Play a game of chess against Stockfish with the white pieces | No | + +## Usage + +### Example + +```js +ws.send('/stockfish'); +``` + +```text +1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. Nxe5 +``` + +This output shows what moves Stockfish has played throughout the game. The output varies depending on the game played. From ec74adb48278ebefadcfc6d0dec9c6f55cdf2c36 Mon Sep 17 00:00:00 2001 From: SmashedFrenzy16 Date: Mon, 27 Nov 2023 15:44:07 +0000 Subject: [PATCH 4/4] Update mkdocs.yml --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index d16765b7..a1458732 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -14,4 +14,5 @@ pages: - /rematch: rematch.md - /restart: restart.md - /inbox: inbox.md + - /stockfish: stockfish.md theme: readthedocs