Commit Graph

126 Commits

Author SHA1 Message Date
Jesse D. McDonald 807f834aaa fix for frequently updating text which hasn't changed 2020-03-15 02:45:18 -05:00
Jesse D. McDonald 7bdc889b87 compare board recursively, not via unstable JSON serialization 2020-03-15 01:18:20 -05:00
Jesse D. McDonald e26504030f preserve notify state in local storage across page loads 2020-03-14 23:32:46 -05:00
Jesse D. McDonald 7cbb9defbb add some feedback for the number of connected peers 2020-03-14 18:20:48 -05:00
Jesse D. McDonald bd8dcc6077 fix implementation of en passant to match official rules 2020-03-14 17:21:43 -05:00
Jesse D. McDonald 67daeba99e use plain identifiers to initialize objects rather than strings 2020-03-14 13:07:10 -05:00
Jesse D. McDonald a77403484c use isDark/isLight more consistently 2020-03-14 13:02:52 -05:00
Jesse D. McDonald 47fc9cba08 use field syntax rather than indexing by strings 2020-03-14 12:57:49 -05:00
Jesse D. McDonald b9de793ce8 improve word-splitting in history list, and don't show lone pawns 2020-03-14 12:53:14 -05:00
Jesse D. McDonald 06fcc887fc add local stepping through move history & flexbox layout 2020-03-14 00:48:24 -05:00
Jesse D. McDonald bde8eee5ad fix for notifying after undo/redo 2020-03-13 16:32:52 -05:00
Jesse D. McDonald 223fd6490a prevent notification for incomplete moves 2020-03-13 11:18:16 -05:00
Jesse D. McDonald f4340312fd reload the page every four hours to keep the code updated 2020-03-13 10:37:13 -05:00
Jesse D. McDonald 75ec7c2ac8 update timestamp when Redo or Pass button is clicked 2020-03-13 10:36:19 -05:00
Jesse D. McDonald 041a8a3242 count each player's moves separately, not as pairs 2020-03-13 02:25:27 -05:00
Jesse D. McDonald 31b9bc70b3 temporary fix for accumulated errors in local storage 2020-03-13 02:24:23 -05:00
Jesse D. McDonald 35354b0c93 partial fix for current game not appearing in drop-down list 2020-03-13 02:02:23 -05:00
Jesse D. McDonald 54f29398e2 simplify some of the code for notifications 2020-03-13 02:01:34 -05:00
Jesse D. McDonald 1f754f53a3 fix for castling broken by fix for swapped king and queen 2020-03-13 02:00:29 -05:00
Jesse D. McDonald 5286e9e18f prune unnamed, no-move games from the drop-down list 2020-03-12 16:41:14 -05:00
Jesse D. McDonald 98ead6724f fix for swapped kings & queens in initial board 2020-03-12 14:47:54 -05:00
Jesse D. McDonald 22449d8405 simplify some conditions 2020-03-12 00:25:39 -05:00
Jesse D. McDonald 48d17a68de add notifications for new moves through a service worker 2020-03-11 22:40:03 -05:00
Jesse D. McDonald 482cba6d95 fix some rough spots in the drag-and-drop UI 2020-03-11 13:16:25 -05:00
Jesse D. McDonald a7528c859a add move validation and visual hints 2020-03-11 02:56:54 -05:00
Jesse D. McDonald a0722c14d8 initial commit 2020-03-10 02:19:41 -05:00