Commit graph

26 commits

Author SHA1 Message Date
Sasha
8b2034279a Pass the move just played along with the new game's state 2018-07-27 23:52:44 +02:00
Sasha
b785bdda22 Modify Game's export function to edit JSON content 2018-07-27 23:51:00 +02:00
Sasha
262b6e3e79 Revert to storing only 'On' games 2018-07-15 18:02:59 +02:00
Sasha
bf5990de47 Adapt code to new library change making player parametric in the key 2018-07-12 22:33:59 +02:00
Sasha
3b4e3be37f Handle decreasing deck and opponent's hand 2018-05-26 21:26:12 +02:00
Sasha
cda5efce1f Added a back used by default for the cards 2018-05-26 11:49:24 +02:00
Sasha
b62ca896ea Attempt to center things a little 2018-05-26 11:47:34 +02:00
Sasha
c5b9b0b170 Improved layout to separate zones for each player and the table 2018-05-22 12:09:53 +02:00
Sasha
57f93ca116 Replace card names by pictures in a sprite 2018-05-20 19:17:51 +02:00
Sasha
dc49f4eb0e Playable game, only end of game isn't handled yet 2018-05-16 22:59:22 +02:00
Sasha
4cd6842c01 Use new parametric Game type in hanafuda library to expose Games more easily 2018-05-15 18:21:07 +02:00
Sasha
83201d5c95 Card-shaped cards in client GUI, sending move but not handled on server 2018-05-13 18:08:12 +02:00
Sasha
20001ebfc5 Start designing the client GUI to handle games 2018-05-12 15:32:00 +02:00
Sasha
02b291d23b Rename and implement correctly the type used to show a partial state of the game to players 2018-05-12 11:24:01 +02:00
Sasha
771982de46 Start minding the version of the hanafuda lib 2018-05-12 11:18:48 +02:00
Sasha
2cf5d48419 Basic client dialogs to login and start a new game 2018-05-11 12:31:53 +02:00
Sasha
a405c3d8ea Remove unused LANGUAGE pragmas 2018-04-18 15:30:58 +02:00
Sasha
2b3e3bbbef Taking the existing flow from Main into a separate Automaton module 2018-04-18 15:27:59 +02:00
Sasha
e929920677 Make sure keys are always only integers 2018-04-13 10:43:11 +02:00
Sasha
a8f951fad4 Remove intermediate name->key hash by using custom comparison function 2018-04-13 10:42:11 +02:00
Sasha
eb2fd7a7cb Add support for custom comparison function in insertion 2018-04-13 10:39:50 +02:00
Sasha
d022ab9aa4 Simplify guest selection and handle disconnections 2018-04-13 09:57:36 +02:00
Sasha
315db97abb Rename object 'keys' to fix bug (there's already a function named that way) 2018-04-13 09:11:35 +02:00
Sasha
1d7a680d48 Remove unused Player.T type 2018-04-12 23:05:58 +02:00
Sasha
59f8751fb6 Use session keys in the client to remove ambiguity 2018-04-12 23:01:40 +02:00
Sasha
fab330b71d First draft, basic session handling 2018-04-11 13:26:41 +02:00