Skip to content

Commit

Permalink
Wording
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Nov 12, 2024
1 parent 557d08b commit cce17cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Whether it is the `data` service, the `game` service, the `binary` service or the `auth` service, all commands fall into three broad categories:

- Text-based commands have no parameters.
- Action-based commands expect one parameter of type string.
- Param-based commands expect a JavaScript object parameter.
- Basic commands have no parameters.
- Action commands expect one parameter of type string.
- Parameterized commands expect a JavaScript object parameter.

Probably the easiest way to get familiar with the chess commands is by reading the WebSocket messages sent back and forth between the web browser and the chess server as you interact with a web app. To do this, you may want to use the [website](https://github.com/chesslablab/website) as shown in the example below.

Expand Down
16 changes: 8 additions & 8 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ site_url: https://chesslablab.github.io/chess-server/
nav:
- Getting Started: getting-started.md
- data:
- Text-based:
- Basic commands:
- /annotations_game: annotations-game.md
- /ranking: ranking.md
- Param-based:
- Parameterized commands:
- /autocomplete_black: autocomplete-black.md
- /autocomplete_event: autocomplete-event.md
- /autocomplete_white: autocomplete-white.md
- /opening: opening.md
- /search: search.md
- game:
- Text-based:
- Basic commands:
- /eval_names: eval-names.md
- /online_games: online-games.md
- /undo: undo.md
- Action-based:
- Action commands:
- /draw: draw.md
- /rematch: rematch.md
- /takeback: takeback.md
- Param-based:
- Parameterized commands:
- /accept: accept.md
- /heuristic: heuristic.md
- /leave: leave.md
Expand All @@ -35,12 +35,12 @@ nav:
- /stockfish: stockfish.md
- /tutor_fen: tutor-fen.md
- binary:
- Param-based:
- Parameterized commands:
- /image: image.md
- auth:
- Text-based:
- Basic commands:
- /totp_signup: totp-signup.md
- Param-based:
- Parameterized commands:
- /totp_refresh: totp-refresh.md
- /totp_signin: totp-signin.md

Expand Down

0 comments on commit cce17cd

Please sign in to comment.