Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maaslalani/gambit
Play chess in your terminal
https://github.com/maaslalani/gambit
chess terminal
Last synced: 4 days ago
JSON representation
Play chess in your terminal
- Host: GitHub
- URL: https://github.com/maaslalani/gambit
- Owner: maaslalani
- License: mit
- Created: 2021-12-02T01:43:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T15:00:41.000Z (11 months ago)
- Last Synced: 2024-11-28T17:55:15.581Z (14 days ago)
- Topics: chess, terminal
- Language: Go
- Homepage:
- Size: 6.16 MB
- Stars: 829
- Watchers: 14
- Forks: 30
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- fucking-Awesome-Linux-Software - ![Open-Source Software - Play chess in your terminal. (Applications / Games)
- Awesome-Linux-Software - ![Open-Source Software - Play chess in your terminal. (Applications / Games)
- charm-in-the-wild - gambit - Chess in the terminal. (_built with Bubble Tea_) (Applications / Games)
README
# Gambit
Chess board in your terminal.
### Installation
```sh
go install github.com/maaslalani/gambit@latest
```or run from source
```sh
git clone https://github.com/maaslalani/gambit
go run ./...
```#### Docker
Gambit is available as a Docker image at [ghcr.io/maaslalani/gambit](https://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.
### Networked Play
You can play chess with `gambit` over `ssh`.
```
ssh [@] -p -t []
```You can host your own `gambit` SSH server with:
```
gambit serve
```### 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.