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
Maas Lalani 20709692d9
fen
2021-12-24 16:42:13 -05:00
board packages 2021-12-24 15:57:54 -05:00
border border 2021-12-24 16:05:04 -05:00
fen fen 2021-12-24 16:42:13 -05:00
game fen 2021-12-24 16:42:13 -05:00
pieces pieces package 2021-12-24 15:58:59 -05:00
position packages 2021-12-24 15:57:54 -05:00
square packages 2021-12-24 15:57:54 -05:00
style style 2021-12-24 16:09:50 -05:00
chess.gif doc: add gif 2021-12-01 21:01:36 -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 2021-12-24 16:38:15 -05:00
README.md update readme 2021-12-22 14:32:11 -05:00

Gambit

Chess board in your terminal.


Terminal chess


Warning

gambit does not have a large number of features at the moment. I plan on adding a chess engine, mouse support, timers, networked play, game replays, etc...

Move

You may use the mouse to move your pieces. You may also type out the square the piece you want to move is on followed by the square to which you want to move the piece.

Like a real chess board, gambit supports illegal moves.

Players

gambit supports local and networked play. You can play a local game by running gambit and moving the pieces. You can flip the board by pressing ctrl+f to allow the second player to go.

For networked play (not available yet), both players can run gambit unique-room-id, this will connect both players to a shared room in which both can take turns making moves.