Commit Graph

64 Commits

Author SHA1 Message Date
Gareth Latty d95c558cc8 Move the sidebar state into elm for consistency and simplicity. 2016-06-26 23:51:18 +01:00
Gareth Latty e9f632e2df Updates to styles, suresource integrity & added a custom error page. 2016-06-25 14:43:04 +01:00
Gareth Latty b12b56a8d8 Resolve #62 - Move tabs to elm to allow us to change the return behaviour on the name field based on tabs. 2016-06-14 12:43:16 +01:00
Gareth Latty d9d2d33f15 Some fixes and simplifications for eventing. 2016-06-07 18:45:23 +01:00
Gareth Latty 8a5cfb6876 Move to eventing model for the server. 2016-06-06 20:14:17 +01:00
Gareth Latty e595f52c2d Fix an issue where errors were not given when the cardcast deck didn't exist, #45 - disable buttons on start screen once clicked. 2016-06-04 16:03:34 +01:00
Gareth Latty 888fb414cf Allow pressing escape to leave overlays, and return to submit on inputs. 2016-06-02 04:33:46 +01:00
Gareth Latty 81f510c4be Cleanup of overlay. 2016-06-02 03:47:27 +01:00
Gareth Latty 494154bc2a Add desktop notifications to let players know when they need to do something. Also moved the overlays into Elm rather than javascript hackery. 2016-06-02 03:35:04 +01:00
Gareth Latty b20a8b3d65 Resolve #32: Game history. 2016-05-26 00:58:15 +01:00
Gareth Latty 050bf170a4 Opitmise animations. 2016-05-23 19:08:07 +01:00
Gareth Latty 3adb59980b Fix playing animations. 2016-05-23 18:49:29 +01:00
Gareth Latty e29f29ed50 Missed change. 2016-05-23 17:34:43 +01:00
Gareth Latty cf2720eb9d A variety of bug fixes. 2016-05-23 17:32:08 +01:00
Gareth Latty 68fc6a82a9 Remove fix for websocket bug that's fixed in the latest version of the library. 2016-05-22 13:56:16 +01:00
Gareth Latty e3b1c825f1 Remove debug code left in. 2016-05-22 01:27:47 +01:00
Gareth Latty 2e6e37f458 Resolve #35: Used JS lib and ports, which is a little more palatable now. 2016-05-22 00:11:15 +01:00
Gareth Latty 42938646a0 Restructure of server-side. Includes some UI fixes from recent updates. 2016-05-21 03:27:54 +01:00
Gareth Latty b38faf92e3 Resolve #48 - Added house rule support and a first implementation. 2016-05-20 12:36:39 +01:00
Gareth Latty 6b61056f30 Refactored all lobby sub-scenes to modify the lobby via message rather than directly - simpler code and a single modification point. 2016-05-19 15:17:52 +01:00
Gareth Latty 84254e88a5 Upgraded for elm 0.17. Currently compiling, but with runtime errors - looks like Html.map is broken. Hopefully should begin working with the next release. 2016-05-19 01:34:42 +01:00
Gareth Latty 9cb75a9546 Resolve #28: Cards now keep IDs so duplicates are not stripped. 2016-05-08 16:55:55 +01:00
Gareth Latty 00e21970a3 Resolve #40 - Disable playing when joining a round mid-way-through. Also add explicit withdraw button to cards, rather than just clicking on the card. 2016-05-08 16:04:57 +01:00
Gareth Latty 08d1ef372d Resolve #61: Game code is correctly populated again. 2016-01-17 21:24:24 +00:00
Gareth Latty 074d530f9e Changed input field handling to abstract it away a little more. 2015-12-31 16:47:38 +00:00
Gareth Latty c3d9985ff4 Added UI for timeout notifications. 2015-12-31 02:17:22 +00:00
Gareth Latty 469c238b21 Moved to better error message creation server-side. 2015-12-31 02:16:50 +00:00
Gareth Latty 39e5e4819b Resolve #60: Refactor out catch up events. 2015-12-22 04:01:42 +00:00
Gareth Latty 7695db54f4 Add documentation and a little refactoring. 2015-12-22 00:27:12 +00:00
Gareth Latty d455fb3025 Update about information and README. 2015-12-21 19:57:10 +00:00
Gareth Latty 5707c8e1ec Use 'Cardcast' over 'CardCast' to match capitilisation used by Cardcast. 2015-12-21 16:25:26 +00:00
Gareth Latty aba08f7110 Change 'Deck ID' to 'Play Code' to match the terminology Cardcast uses. 2015-12-21 16:21:29 +00:00
Gareth Latty 263e42fde0 Style improvements. 2015-12-19 17:48:01 +00:00
Gareth Latty 4991b6c060 Added an information bar with info about the state of the game. 2015-12-19 15:07:59 +00:00
Gareth Latty b689e4c277 Issue #4 - Use new error API to provide nicer errors for common start and config errors. 2015-12-19 13:52:20 +00:00
Gareth Latty 0c3a7fa634 Issue #4 - Refactored API module to give detail on errors. 2015-12-19 02:18:58 +00:00
Gareth Latty 00108e6edf Work on #10 - Add skipping for disconnected players. 2015-12-18 13:40:42 +00:00
Gareth Latty 3278b42fa7 Resolve #41 - Changed all links to avoid 'href="#"'. 2015-12-14 18:41:46 +00:00
Gareth Latty 7b30e057b5 Resolve #7 - Players can now leave a game. 2015-12-14 17:57:07 +00:00
Gareth Latty 4ded8a6131 Resolve #19 - Notifications on player join/disconnect/reconnect/leave. 2015-12-14 15:31:16 +00:00
Gareth Latty 3427acf480 Resolve #11 - Rando Cardrissian added. 2015-12-13 03:44:59 +00:00
Gareth Latty e6a6dec898 Resolve #22 - Recommend the basic set in config, and show a loading spinner when adding decks. 2015-12-13 02:08:50 +00:00
Gareth Latty 57c3010bc4 General style improvements. 2015-12-12 20:34:45 +00:00
Gareth Latty fb5977dfd5 Added catch-up events to mitigate missing events from before the client joined. 2015-12-12 18:37:24 +00:00
Gareth Latty c801495a9f Refactor to move states and make the module structure clearer. 2015-12-12 18:09:07 +00:00
Gareth Latty 6329290d77 Groundwork for #19 - Eventing framework. 2015-12-12 17:59:08 +00:00
Gareth Latty 452b936271 Some styling improvments to the start page. 2015-12-12 14:16:05 +00:00
Gareth Latty a67fc85d5a Resolve #12 & #18 - Redone judging screen. 2015-12-12 00:21:30 +00:00
Gareth Latty 3a42883229 Resolve #14 - Swap thumb for tick when confirming played cards. 2015-12-11 22:36:59 +00:00
Gareth Latty d3b162549f Resolve #1 - Check if the current player has played and stop them playing again if so. 2015-12-11 01:20:06 +00:00