Commit graph

24 commits

Author SHA1 Message Date
f7a0ff1be7 Implement account saving / loading 2020-02-02 19:16:27 +01:00
394a7699d8 Add a navigation menu to browse screens once connected and add a new Settings screen where account export will be implemented 2020-02-01 22:42:04 +01:00
c5e5a7c958 Now that we can receive game messages from several games at once, make sure the Game module only handles the ones for the current game 2020-01-28 18:24:34 +01:00
81216e3f01 Fix stuff implementing the re-synchronization after connection loss 2020-01-25 10:56:55 +01:00
19aa959c64 Try and make sense of the two data structures related to games with a good renaming 2020-01-23 22:17:57 +01:00
428e48f6f4 Follow move of 'logs' into PublicGame structure and start implementing re-sync protocol on the client side 2020-01-20 22:58:57 +01:00
ef947f7942 Keep previous state of game and use it to replay latest move 2020-01-18 23:10:22 +01:00
02edb77285 Explode too big procedures into simple short sub-functions 2020-01-18 23:09:06 +01:00
97b0bc0cc8 Follow «Coordinates» change in protocol 2020-01-18 09:35:51 +01:00
421b91c0ff Stop emitting the (temporarily ?) deprecated Quit message at the endof a game and factorize the function to go back to main menu instead 2020-01-16 22:33:41 +01:00
38ccd13634 Fix various missing dependencies and renamed variables 2020-01-16 16:45:23 +01:00
8bb722863a Fix onClick event issues with River- and HandCards 2020-01-16 16:44:19 +01:00
8cfcd419ef Store all of game message, to get the log, why drop it and have to generate a fake message ? 2020-01-15 18:10:52 +01:00
d3d8ca8816 Make game display, still nothing happens when clicking on the cards in the hand 2020-01-15 18:10:52 +01:00
07cf48e857 Starting to try and make modules out of the class Cards (WIP : will require a stateful «Game.Context» module and all kind of uglyness) 2020-01-15 18:10:52 +01:00
2563a44c11 Start importing Game Screen module, everything is broken due to class prototype definitions, also start cutting this gigantic module into small ones 2020-01-15 18:10:02 +01:00
66cade4cb2 Keep a line in games list for negative answers to let the user know about them and dismiss the news when they read it 2020-01-15 18:09:58 +01:00
6127d0f25a Remove commented-out dead code 2020-01-15 18:09:55 +01:00
b8c95646dc Factorize game proposals insertion to avoid spreading use of opponent and timestamp 2020-01-15 18:09:50 +01:00
d308d35069 Remove 'itemMaker' parameter to Table instanciator since it all amounts to copying all the object passed 2020-01-15 18:09:48 +01:00
26020a5539 Keep sorting things between view, models, full game states and games list entries — should yield to simplifying Table module 2020-01-15 18:09:45 +01:00
abba380f3f WIP: still trying to figure things out between Games models, views and the part persisted in localStorage 2020-01-13 08:39:32 +01:00
16b356a92b Implement main list functionalities (keeping track of players and games) 2020-01-11 19:46:41 +01:00
f625b9954f Import code from hanafuda-webapp and adapt it for SJW 2020-01-10 08:36:57 +01:00