1
0
mirror of https://github.com/maaslalani/gambit.git synced 2024-12-26 20:54:07 +02:00
Play chess in your terminal
Go to file
2022-02-05 12:27:39 -05:00
board feat: ability to flip board 2022-01-31 08:29:18 -05:00
border doc: add note about flipped flipped 2022-01-31 11:21:53 -05:00
fen comment cleanup 2021-12-24 20:55:53 -05:00
game fix: select flipped board with mouse correctly 2022-01-31 11:12:22 -05:00
moves comment cleanup 2021-12-24 20:55:53 -05:00
pieces comment cleanup 2021-12-24 20:55:53 -05:00
position comment cleanup 2021-12-24 20:55:53 -05:00
square comment cleanup 2021-12-24 20:55:53 -05:00
style border_test 2021-12-25 23:13:58 -05:00
chess.gif new gif 2021-12-24 18:02:25 -05:00
go.mod tidy 2021-12-24 14:13:21 -05:00
go.sum holy shit 2021-12-24 12:55:46 -05:00
main.go clean up 2021-12-24 18:58:20 -05:00
README.md doc: add installation instructions 2022-02-05 12:27:39 -05:00

Gambit

Chess board in your terminal.


Terminal chess


Installation

go install github.com/maaslalani/gambit@latest

or run from source

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

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.

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.

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