1
0
mirror of https://github.com/maaslalani/gambit.git synced 2025-02-17 13:40:46 +02:00
gambit/README.md
2022-02-08 17:52:46 -05:00

1011 B

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 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

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