Commit graph

23 commits

Author SHA1 Message Date
Alex Clink
8a7d7a11cf Update tests 2021-10-02 19:12:06 -04:00
Alex Clink
5427797139 Add disambiguation to SAN generation 2021-09-27 23:34:47 -04:00
Alex Clink
d8c2a79733 Add board scoring and basic suggestion 2021-09-27 21:01:04 -04:00
Alex Clink
ec778a44b2 Add ability to undo a move 2021-09-26 20:52:22 -04:00
Alex Clink
a0f65efbb5 Change Game#index to Game#index_of to unshadow previous def
the method #index is defined by the enumerable module, and caused type confusion
2021-09-26 16:38:55 -04:00
Alex Clink
9901698258 make_move no longer return SAN 2021-09-24 22:37:51 -04:00
Alex Clink
25e7f9cc9a Add remove_illegal_moves method 2021-09-22 23:04:21 -04:00
Alex Clink
5077339246 Add checkmate detection in SAN generation 2021-09-21 23:46:32 -04:00
Alex Clink
93d5c58c57 Add method to test for checkmate 2021-09-21 21:53:15 -04:00
Alex Clink
bbc5a0d893 Add intermediate square checks while castling 2021-09-20 23:34:51 -04:00
Alex Clink
3502140bdb Add promotion and promotion checks for pawns 2021-09-20 23:20:59 -04:00
Alex Clink
ccd3e93460 Fully set fen attributes 2021-09-19 21:11:48 -04:00
Alex Clink
d9ca848bc3 Add tests for check 2021-09-19 18:48:22 -04:00
Alex Clink
01625b0c9b Add extra castling specs 2021-09-19 17:34:18 -04:00
Alex Clink
c9448fe368 Fix capture distinction in notation regex 2021-09-18 17:08:28 -04:00
Alex Clink
1397a01aaf Add some specs for parsing SAN 2021-09-18 12:54:04 -04:00
Alex Clink
7614001e45 Fix castling queenside for black 2021-09-17 23:19:47 -04:00
Alex Clink
ceaaf16f80 More robust castling, fixed fen parsing 2021-09-17 00:08:53 -04:00
Alex Clink
d750e9cba0 Add en passant move generation 2021-09-12 15:49:19 -04:00
Alex Clink
279a9adaaa Add pawn captures, FEN placement, board turns 2021-09-11 23:20:00 -04:00
Alex Clink
e496f6c51a Generate all pseudolegal moves 2021-09-11 00:07:22 -04:00
Alex Clink
af020fb3c6 Add more moves to generation 2021-09-09 23:59:31 -04:00
Alex Clink
5411b6f75d Add a few specs 2021-09-05 00:28:54 -04:00