maaslalani / gambit

Play chess in your terminal
MIT License
826 stars 30 forks source link
chess terminal
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 ./...

Docker

Gambit is available as a Docker image at ghcr.io/maaslalani/gambit.

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

Move

There are two ways to move in gambit: