Commit graph

14 commits

Author SHA1 Message Date
818c343e89 Use Base64 to correctly handle binary ByteStrings 2019-10-17 18:53:11 +02:00
0c2974b055 Add needed JSON instances for PrivateState 2019-10-17 12:13:15 +02:00
5cccd05290 Use new handier type synonyms from lib 2019-10-17 12:12:51 +02:00
e11a899745 Apparently a nonce will be needed but can be transmitted unciphered along with the message 2019-10-17 11:24:36 +02:00
9cfcd691fd Export the previously defined data types 2019-10-16 18:47:40 +02:00
c4edae9781 Define a public type for players and keep only the player's hand in private information and public game 2019-10-16 18:44:46 +02:00
65a7c26b5a Player will need to pass the state of the game along with their move since the server won't remember it for them 2019-10-16 18:43:53 +02:00
2f7be7df2b Implement a separate public type for games to cipher a part of its content and sign another 2019-10-16 10:31:30 +02:00
d52b101bcf Follow renaming (Key -> ID) in hanafuda lib 2019-08-24 14:53:46 +02:00
be593c72d9 Handle FromJSONKey instances properly 2019-08-20 14:20:12 +02:00
3e0f1834d1 Import everything left in the server's Game module 2019-08-19 18:49:05 +02:00
2b196c0075 Using the new «public» Game type in Messages, will need to re-import everything that was done in the server's Game module before 2019-08-18 22:13:54 +02:00
607b253f3b Prefix cabal name with «hanafuda» and export more types used in the webapp 2019-08-17 23:10:03 +02:00
79c9488543 Taking Message-related stuff out of webapp's Game and Message modules 2019-08-15 23:36:20 +02:00