Commit Graph

87 Commits

Author SHA1 Message Date
Gareth Latty 4ffe30b2e4 Fix for bug where notifications were sent to the wrong clients. 2016-06-07 19:25:07 +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 c06c8f5d51 Add IntelliJ project files excluded by mistake, and update .gitignore to allow them through. 2016-06-05 18:01:36 +01:00
Gareth Latty d4650b8546 Resolve #17 - Simple 15m cache for decks. 2016-06-05 16:03:47 +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 cb4ced9e02 Forgot a trailing slash. 2016-05-22 20:19:11 +01:00
Gareth Latty 7c08a90290 More fixes for https support. 2016-05-22 20:16:12 +01:00
Gareth Latty 8217f84e38 Fix for bug where the server would give the incorrect URL if accessed via HTTPs. 2016-05-22 19:02:15 +01:00
Gareth Latty 5324b959d1 Update app.json to match new structure. 2016-05-22 18:40:02 +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 bd912fd2c0 After the server-side reorganisation stripping out Akka, forgot to ensure that only one request accesses the lobby at a time. This could become more fine grained in the future (at least allow pure reads, for example), but for now this emulates the previous set-up. 2016-05-22 00:30:42 +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 6d4bb80b0a Resolve #15 - Extra cards are now given on triple slot calls. Also fixed a bug where the deck wasn't recycled properly if it ran out. 2016-05-08 16:33:54 +01:00
Gareth Latty dc941ddd34 Update to newest MUI and FontAwesome. 2016-05-08 16:05:27 +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 5d5c3b1afa Fix gulpfile for new project layout. 2016-05-08 16:02:11 +01:00
Gareth Latty 54f5c10e89 Project restructure to allow for automated deployment on Heroku. 2016-01-21 00:29:34 +00: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 60c50baece Set the default hand size to 10 cards. 2015-12-21 17:20:56 +00:00
Gareth Latty f6dda1a955 Center the text for the information bar. 2015-12-21 17:20:35 +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 30c9c9f0fc Add check to make skipping only possible for disconnected players. 2015-12-18 17:28:53 +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