mirror of
https://github.com/maaslalani/gambit.git
synced 2024-11-24 08:22:12 +02:00
37 lines
1004 B
Markdown
37 lines
1004 B
Markdown
|
# Gambit
|
||
|
|
||
|
Chess board in your terminal.
|
||
|
|
||
|
### Play
|
||
|
|
||
|
```
|
||
|
. . . . . . . . . .
|
||
|
. ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ .
|
||
|
. ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ .
|
||
|
. .
|
||
|
. .
|
||
|
. .
|
||
|
. .
|
||
|
. ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ .
|
||
|
. ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ .
|
||
|
. . . . . . . . . .
|
||
|
```
|
||
|
|
||
|
### Move
|
||
|
|
||
|
Suppose you want to open as white with Pawn E4.
|
||
|
You will first select the square with the piece you want to move by typing `E2`,
|
||
|
then type the square of the desired end position `E4`.
|
||
|
|
||
|
Just like a real chess board, `gambit` currently supports illegal moves.
|
||
|
_This will likely change in the future_.
|
||
|
|
||
|
### Players
|
||
|
|
||
|
`gambit` supports local and networked play. You can play a local game by
|
||
|
running `gambit` and moving the pieces. You can flip the board by pressing
|
||
|
<kbd>Space</kbd> to allow the second player to go.
|
||
|
|
||
|
For networked play, both players can run `gambit unique-room-id`, this will connect
|
||
|
both players to a shared room in which both can take turns making moves.
|