1
0
mirror of https://github.com/maaslalani/gambit.git synced 2024-12-26 20:54:07 +02:00
Commit Graph

82 Commits

Author SHA1 Message Date
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
Maas Lalani
528166050a
clean up pieces 2021-12-22 23:23:55 -05:00
Maas Lalani
9a202e6e2e
selected 2021-12-22 23:08:41 -05:00
Maas Lalani
5b1daab86d
move validity 2021-12-22 19:59:17 -05:00
Maas Lalani
1947dc02e2
update readme 2021-12-22 14:32:11 -05:00
Maas Lalani
7a2151020f
styling 2021-12-22 14:26:59 -05:00
Maas Lalani
35192ca66a
mouse 2021-12-22 14:03:57 -05:00
Maas Lalani
55caa3afbc
save 2021-12-22 12:14:07 -05:00
Maas Lalani
9a0d34e37d
move tests 2021-12-22 11:53:22 -05:00
Maas Lalani
609e5e9160
move squares 2021-12-22 11:34:08 -05:00
Maas Lalani
d8531fc59b
working fen 2021-12-22 11:26:45 -05:00
Maas Lalani
724419ce7f
use squares 2021-12-22 10:52:21 -05:00
Maas Lalani
305f5a47ca
squares 2021-12-22 10:51:22 -05:00
Maas Lalani
156c4a7eea
passing 2021-12-22 02:09:08 -05:00