1
0
mirror of https://github.com/maaslalani/gambit.git synced 2024-11-28 08:38:36 +02:00
gambit/README.md
2022-02-15 17:52:49 -05:00

1.1 KiB

Gambit: Play chess in your terminal

Gambit

Chess board in your terminal.

Installation

go install github.com/maaslalani/gambit@latest

or run from source

git clone https://github.com/maaslalani/gambit
go run ./...

Play

You can play a game by running:

gambit

You can press ctrl+f to flip the board to give a better perspective for the second player.


Terminal chess

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.