Commit Graph

15 Commits

Author SHA1 Message Date
Jesse D. McDonald 4d87a9b2d1 fix for undo state becoming corrupted after redo 2020-05-08 12:01:45 -05:00
Jesse D. McDonald 3877414058 fix for too much padding in certain history diffs 2020-05-07 21:07:01 -05:00
Jesse D. McDonald 5be70b8891 factor out the code to diff game history into a utility function 2020-05-02 18:12:52 -05:00
Jesse D. McDonald 6d4923755e explain why the player is in check using chess notation 2020-04-30 02:46:21 -05:00
Jesse D. McDonald 204d7acddc add the ability to detect checkmate without taking the king 2020-04-24 23:16:21 -05:00
Jesse D. McDonald 2171bb00ee block chain moves which are known dead ends 2020-04-24 22:07:16 -05:00
Jesse D. McDonald fc73c872ed fix for broken cycle detection in isInCheck function 2020-04-18 16:05:50 -05:00
Jesse D. McDonald 7c04b9ba09 performance improvements for determination of check 2020-04-05 17:25:06 -05:00
Jesse D. McDonald e28ea59095 block castling out of check 2020-04-05 05:24:26 -05:00
Jesse D. McDonald fcb14d489c add ability to detect obvious check (chains of 6 moves or less) 2020-04-05 04:42:10 -05:00
Jesse D. McDonald b228f1f626 switch scanPath and legalMoves to return generators instead of arrays 2020-04-04 03:10:42 -05:00
Jesse D. McDonald dca6754b65 omit move number when last move is a resignation 2020-03-29 01:37:37 -05:00
Jesse D. McDonald 1eb253c92d fix for metadata omitted when replaying resignation moves 2020-03-29 01:15:13 -05:00
Jesse D. McDonald 4339ae2f01 add click-to-move feature 2020-03-22 12:58:29 -05:00
Jesse D. McDonald a96e8f1e4f major rewrite; breaking change; game logic in separate file 2020-03-22 01:38:34 -05:00