Commit Graph

135 Commits

Author SHA1 Message Date
Jesse D. McDonald 8de753aac5 use horizontal clip effect instead of fold 2020-06-21 23:02:51 -05:00
Jesse D. McDonald 0df3a7c647 display cumulative waiting time since each player's first move 2020-05-21 16:14:55 -05:00
Jesse D. McDonald d020e94ac0 highlight the piece beside the name of the current player or winner 2020-05-20 13:39:29 -05:00
Jesse D. McDonald 6495c49022 add "private copy" feature for client-only exploration of moves 2020-05-14 23:46:14 -05:00
Jesse D. McDonald 6dd6c2e3d6 fix issues reported by eslint 2020-05-12 18:26:05 -05:00
Jesse D. McDonald d1439b3f09 fix (maybe) for page not reloading after updating service worker 2020-05-11 13:04:00 -05:00
Jesse D. McDonald 9795c83583 fix for race between polling and server response after update 2020-05-10 20:20:31 -05:00
Jesse D. McDonald cb99962074 completely redesign the user interface 2020-05-10 15:42:23 -05:00
Jesse D. McDonald 8b06a83361 use 11 KiB .mp3 for audio rather than 188 KiB .wav 2020-05-10 11:07:18 -05:00
Jesse D. McDonald a1a9eea758 fix for not notifying on next move after switching game 2020-05-09 13:05:32 -05:00
Jesse D. McDonald 8621724c40 add notifications for games which are not currently visible 2020-05-09 12:54:49 -05:00
Jesse D. McDonald a523c81f88 fix for dragging from phantom square broken (again) 2020-05-09 12:53:45 -05:00
Jesse D. McDonald 21214dd5df factor the code for the status message out of renderBoard() 2020-05-09 11:30:30 -05:00
Jesse D. McDonald 6f6600c6f4 remember the notify and reverse flags for each game separately 2020-05-09 11:29:25 -05:00
Jesse D. McDonald c2dbd6267c add getGameId() and $ (jQuery) to the Admin object 2020-05-09 10:30:46 -05:00
Jesse D. McDonald 5873a97d93 remove piece IDs and unused <img> elements; animate click moves 2020-05-08 22:15:11 -05:00
Jesse D. McDonald 56cce3340e prohibit castling through check 2020-05-08 20:52:22 -05:00
Jesse D. McDonald b1caa69920 move (de)serialization into the Game class & add rule versioning 2020-05-08 20:40:48 -05:00
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 66b1bb05f6 add easier console access to the pacosako.js module 2020-05-02 18:11:21 -05:00
Jesse D. McDonald d36b12ddfa put the default API path under the current directory 2020-05-02 18:10:35 -05:00
Jesse D. McDonald 0fc3787432 support running as a standalone server for development 2020-05-02 16:08:54 -05:00
Jesse D. McDonald 3995968928 redirect to the new URL when loaded from the old URL 2020-05-01 04:09:35 -05:00
Jesse D. McDonald c2f8762d9f update for new AWS cloud server 2020-05-01 04:07:22 -05:00
Jesse D. McDonald b3ebe91f9c monitor service worker and prompt to update to new version 2020-04-30 19:17:03 -05:00
Jesse D. McDonald f68ec55d60 fix for game ages not updating in selection box 2020-04-30 12:39:55 -05:00
Jesse D. McDonald 838699994a include more detail in the status messages 2020-04-30 04:27:30 -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 6e552cfa4e fix missing import of jquery-ui-touch-punch 2020-04-30 00:07:50 -05:00
Jesse D. McDonald 88f2e61928 replace drop-down list with new modal game selection dialog 2020-04-29 23:54:59 -05:00
Jesse D. McDonald 6c4cb52579 minor cleanup in refreshSelectOptions 2020-04-29 02:17:56 -05:00
Jesse D. McDonald d9b6210841 bring back live name updates while typing 2020-04-29 02:00:43 -05:00
Jesse D. McDonald 455e486075 always use polling API for games to avoid 404s when game doesn't exist yet 2020-04-29 00:31:36 -05:00
Jesse D. McDonald bf301ad79a merge consecutive updates into a single request 2020-04-29 00:27:10 -05:00
Jesse D. McDonald bac6305cb7 submit related updates in series with proper modified times 2020-04-28 23:15:04 -05:00
Jesse D. McDonald 63d02e8ad4 remove the client-side link between game data and metadata 2020-04-28 23:12:50 -05:00
Jesse D. McDonald 82248ccbaf add interfaces to retrieve cached data without a new request 2020-04-28 23:12:10 -05:00
Jesse D. McDonald 3f173d70a2 add an interface to monitor the states of the polling connections 2020-04-28 19:26:24 -05:00
Jesse D. McDonald 2bfcc822a3 fix for not actually forcing reload when update fails 2020-04-28 14:57:06 -05:00
Jesse D. McDonald 3184831ebb show notice for long-running update requests 2020-04-28 01:00:42 -05:00
Jesse D. McDonald a8ab0b9a72 fix incorrect function called on retry 2020-04-28 00:58:38 -05:00
Jesse D. McDonald a598e287df convert client over to the new REST API 2020-04-27 20:49:31 -05:00
Jesse D. McDonald 156704f0f3 use a bold font for the move numbers in the history list 2020-04-25 02:12:53 -05:00
Jesse D. McDonald 6c17ea3bf7 put the current player's pieces in front to make dragging easier 2020-04-25 00:14:42 -05:00
Jesse D. McDonald f6fa4ca32d keep earlier moves when unable to replay full game state 2020-04-24 23:36:02 -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 db5f56735b prevent selection of pieces with no legal moves 2020-04-24 22:08:05 -05:00
Jesse D. McDonald 2171bb00ee block chain moves which are known dead ends 2020-04-24 22:07:16 -05:00