Commit graph

9 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
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
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
3502140bdb Add promotion and promotion checks for pawns 2021-09-20 23:20:59 -04:00
Alex Clink
1397a01aaf Add some specs for parsing SAN 2021-09-18 12:54:04 -04:00