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
Maas Lalani
4de523cfdf
fairly usable
2021-12-24 17:44:57 -05:00
Maas Lalani
1593d5a867
cleanup
2021-12-24 17:31:25 -05:00
Maas Lalani
20709692d9
fen
2021-12-24 16:42:13 -05:00
Maas Lalani
51632cd1e8
clean
2021-12-24 16:38:15 -05:00
Maas Lalani
885e67b73f
style
2021-12-24 16:09:50 -05:00
Maas Lalani
c30e6351e5
border
2021-12-24 16:05:04 -05:00
Maas Lalani
8abe072d85
pieces package
2021-12-24 15:58:59 -05:00
Maas Lalani
f67cc857ee
packages
2021-12-24 15:57:54 -05:00
Maas Lalani
1c89a003dd
colors
2021-12-24 15:49:48 -05:00
Maas Lalani
b36b8af032
correction fen
2021-12-24 15:44:12 -05:00
Maas Lalani
52a5c5363c
show legal moves
2021-12-24 15:26:50 -05:00
Maas Lalani
d2b90b631e
convert between squares and positions
2021-12-24 14:40:27 -05:00
Maas Lalani
68263dd257
tidy
2021-12-24 14:13:21 -05:00
Maas Lalani
9a9bdeb471
shitty code
2021-12-24 13:29:05 -05:00
Maas Lalani
fd65298bcf
get rid of mostly everything
2021-12-24 12:59:46 -05:00
Maas Lalani
c3744d422c
holy shit
2021-12-24 12:55:46 -05:00
Maas Lalani
139ce2b1a1
fen explainer
2021-12-22 23:35:41 -05:00
Maas Lalani
044a48b66e
use new
2021-12-22 23:26:07 -05:00