Maas Lalani
9c3cb904ee
feat: auto promote to queen
2023-11-21 09:49:23 -05:00
Maas Lalani
eb753648ea
chore(deps): bump dependencies
2023-10-29 22:57:38 -04:00
Maas Lalani
9b6d47a31e
docs: no chess.fyi
2023-05-26 02:36:02 -04:00
Maas Lalani
99a9531196
feat: demo.tape + out.gif
2023-05-26 02:28:05 -04:00
Maas Lalani
ec9e077b3d
mod tidy
2022-12-04 14:49:46 -05:00
Maas Lalani
b7c218d8b3
bump deps
2022-11-25 11:52:56 -05:00
Maas Lalani
269ffd7fd0
bump deps
2022-11-05 15:11:17 -04:00
Maas Lalani
f285d4bc09
chore: bump bubbletea@master
2022-10-17 20:20:32 -04:00
Maas Lalani
358a8c3f78
chore: bump bubbletea@master
2022-10-17 20:03:48 -04:00
Maas Lalani
6434dec1fb
feat: living on the edge
2022-06-27 12:42:24 -04:00
Maas Lalani
cd32352a42
refactor: less spacing
2022-04-03 12:19:49 -04:00
Maas Lalani
59d521a126
Update go modules
2022-02-25 00:57:59 -05:00
Ayman Bagabas
2196b94521
doc: update docker image url
2022-02-23 14:19:14 -05:00
Ayman Bagabas
dbd94fc389
doc: update readme
2022-02-23 13:48:18 -05:00
Ayman Bagabas
fe96530644
ci: add build and release workflow
...
* use goreleaser for release
* add docker builds
* add docker-compose.yml example
2022-02-23 13:48:18 -05:00
Ayman Bagabas
8a4db5729c
feat: set server config via environment variables
...
* use 0.0.0.0 as a default host
* environment variables take precedence over command line arguments
2022-02-23 13:48:18 -05:00
Ayman Bagabas
f9b8fc0cae
feat: add version and commit info
2022-02-23 13:48:18 -05:00
Ayman Bagabas
83f83391ff
chore: add license
2022-02-23 13:48:18 -05:00
Isaiah Hamilton
ecb9e62a69
update README.md
2022-02-15 17:52:49 -05:00
Maas Lalani
33e8449571
doc: chess.fyi
2022-02-14 22:17:20 -05:00
Maas Lalani
9666e8fdfc
doc: add networked play docs
2022-02-14 22:16:48 -05:00
Maas Lalani
f7cccfc690
refactor: winch -> wchan
2022-02-14 22:11:12 -05:00
Maas Lalani
c3bd0dca7c
feat: styling
2022-02-14 22:08:25 -05:00
Maas Lalani
5ea9a96daa
refactor: turn (bool) -> whiteToMove
2022-02-14 21:35:07 -05:00
Maas Lalani
55180c8580
Merge branch 'main' of https://github.com/maaslalani/gambit
2022-02-14 20:23:58 -05:00
Maas Lalani
c2143e5045
refactor: naming
2022-02-14 20:23:06 -05:00
Maas Lalani
e8dcb5915b
refactor: naming
2022-02-14 20:21:12 -05:00
Maas Lalani
4c67fe6758
refactor: server/middleware.go
2022-02-14 20:06:02 -05:00
Ayman Bagabas
917610bf8f
feat: use coral for cli interactions
...
* Add serve command to start a server
* Graceful shutdown
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
2022-02-14 19:35:15 -05:00
Ayman Bagabas
80c7816236
feat: implement the gambit server
...
* Use wish for creating the ssh server
* Add a shared game bubble that wraps gambit game model
* Per room handling of player interactions and events
* Add the ability to watch the game
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
2022-02-14 19:35:15 -05:00
Ayman Bagabas
478d8110e9
feat: highlight king when in check and notify checkmates
...
* Implement Piece type
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
2022-02-14 19:35:15 -05:00
Ayman Bagabas
19181d4ada
feat: export game model and helper functions
...
* Export model
* Set game flipped state from outside
* Get the current board FEN position from outside
* Add MoveMsg and NotifyMsg
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
2022-02-14 19:35:15 -05:00
Maas Lalani
428556d751
doc: add assets
2022-02-08 17:52:46 -05:00
Ayman Bagabas
b981acf09f
fix: white makes the first move
2022-02-08 17:23:42 -05:00
Ayman Bagabas
466490be7e
fix: flipped board order
...
Fixes: 87dfad59be
("feat: ability to flip board")
2022-02-08 17:23:42 -05:00
Maas Lalani
2d761df009
doc: fen.IsValid
2022-02-06 23:03:13 -05:00
Maas Lalani
f476062edb
fix: validate fen
2022-02-06 23:02:42 -05:00
Maas Lalani
3bc7d04a80
feat: allow piping in fen from stdin
2022-02-06 22:41:54 -05:00
Maas Lalani
c9a1a2cc77
doc: add installation instructions
2022-02-05 12:27:39 -05:00
Maas Lalani
703c4062f7
Update README.md
2022-02-05 10:06:13 -05:00
Maas Lalani
197fac15de
doc: add note about flipped flipped
2022-01-31 11:21:53 -05:00
Maas Lalani
630fd8dc1b
fix: select flipped board with mouse correctly
2022-01-31 11:12:22 -05:00
Maas Lalani
87dfad59be
feat: ability to flip board
2022-01-31 08:29:18 -05:00
Maas Lalani
8ce06521d6
feat: add keybinds to move pieces
2022-01-30 22:03:20 -05:00
Maas Lalani
2cb018acb0
border_test
2021-12-25 23:13:58 -05:00
Maas Lalani
d997be5af2
comment cleanup
2021-12-24 20:55:53 -05:00
Maas Lalani
3cf4ea492e
moves
2021-12-24 19:08:48 -05:00
Maas Lalani
dbada55245
legalPieceMoves
2021-12-24 19:04:05 -05:00
Maas Lalani
dc694433cc
clean up
2021-12-24 18:58:20 -05:00
Maas Lalani
13c4e581c2
new gif
2021-12-24 18:02:25 -05:00