mirror of
https://github.com/maaslalani/gambit.git
synced 2024-12-26 20:54:07 +02:00
doc: add networked play docs
This commit is contained in:
parent
f7cccfc690
commit
9666e8fdfc
29
README.md
29
README.md
@ -33,18 +33,29 @@ for the second player.
|
||||
<img width="90%" src="./assets/chess.gif?raw=true" alt="Terminal chess" />
|
||||
</p>
|
||||
|
||||
### Networked Play
|
||||
|
||||
You can play chess with `gambit` over `ssh`.
|
||||
|
||||
```
|
||||
ssh [<name>@]<host> -p <port> -t <room> [<password>]
|
||||
```
|
||||
|
||||
You can host your own `gambit` SSH server with:
|
||||
|
||||
```
|
||||
gambit serve
|
||||
```
|
||||
|
||||
Or, use the hosted `gambit` server at `chess.fyi`:
|
||||
|
||||
```
|
||||
ssh user@chess.fyi -p 2200 -t foobar password
|
||||
```
|
||||
|
||||
### Move
|
||||
|
||||
There are two ways to move in `gambit`:
|
||||
|
||||
* Type out the square the piece you want to move is on, then type out the square to which you want to move the piece.
|
||||
* With the mouse, click on the target piece and target square.
|
||||
|
||||
### Future
|
||||
|
||||
In the future, `gambit` will support:
|
||||
|
||||
* networked play, where two players can run
|
||||
`gabmit unique-room-id` and play together through peer-to-peer communication.
|
||||
|
||||
* Single player games, by adding a chess engine
|
||||
|
Loading…
Reference in New Issue
Block a user