Commit Graph

17 Commits

Author SHA1 Message Date
Tissevert f15375c512 Reload games too when loading a saved account 2020-02-04 17:29:32 +01:00
Tissevert 18a5fc3321 Fixed variables forgotten by renaming 2020-02-04 13:23:12 +01:00
Tissevert 244215f09b Game coordinates store months' names, not their index so get the index first before comparing 2020-01-30 21:00:40 +01:00
Tissevert 313d91bcaf Oops, forgot the 'to' field in Yield messages 2020-01-30 15:21:09 +01:00
Tissevert fb3bb64ff6 Bugfix : code wasn't comparing the game coordinates 2020-01-30 15:05:12 +01:00
Tissevert 81216e3f01 Fix stuff implementing the re-synchronization after connection loss 2020-01-25 10:56:55 +01:00
Tissevert 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
Tissevert 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
Tissevert ef947f7942 Keep previous state of game and use it to replay latest move 2020-01-18 23:10:22 +01:00
Tissevert 97b0bc0cc8 Follow «Coordinates» change in protocol 2020-01-18 09:35:51 +01:00
Tissevert 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
Tissevert 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
Tissevert b8c95646dc Factorize game proposals insertion to avoid spreading use of opponent and timestamp 2020-01-15 18:09:50 +01:00
Tissevert 173d71472e Implement persistence and retrieval of Game states and entries 2020-01-15 18:09:48 +01:00
Tissevert 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
Tissevert 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
Tissevert 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