Commit Graph

16 Commits

Author SHA1 Message Date
Tissevert d3d8ca8816 Make game display, still nothing happens when clicking on the cards in the hand 2020-01-15 18:10:52 +01:00
Tissevert 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
Tissevert d5b846421c Fix weirdly unsupported group name in Firefox by using only group index 2020-01-15 18:10:04 +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 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
Tissevert 6127d0f25a Remove commented-out dead code 2020-01-15 18:09:55 +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 4ea3b57e1d Remove functions finally not needed in Table module 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 2fc3ba8308 Add a utility class that clones and adds a timestamp field (by default 'date') to any given object passed as argument 2020-01-15 18:09:34 +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
Tissevert cc8d9e096f Go back to one single main for both pages (to leverage the browser's cache, since a good deal of code will be shared anyway), have GNU Make keep track of all JS depenendencies even in subdirectories, ignore compilation products 2020-01-12 16:51:21 +01:00
Tissevert 16b356a92b Implement main list functionalities (keeping track of players and games) 2020-01-11 19:46:41 +01:00
Tissevert f625b9954f Import code from hanafuda-webapp and adapt it for SJW 2020-01-10 08:36:57 +01:00