Commit graph

  • e2019e2d3b Implement a partial ordering on game coordinates to allow implementing re-synchronization easily stateless-game Tissevert 2020-01-25 11:13:56 +0100
  • 59c467e988 Add FromClient messages to handle game sync at reconnection and move logs into PublicGame data structure for simplicity Tissevert 2020-01-20 22:57:13 +0100
  • 4c404df4d6 Generalize GameState into a concept of game Coordinates, moving the «month» property into it Tissevert 2020-01-18 09:34:10 +0100
  • 509a5c453f Take game ID with turn into a GameState sub-structure shared between private and public parts to prevent replay-attack Tissevert 2020-01-13 08:29:40 +0100
  • 413d6cfc84 Merge branch 'main' into stateless-game Tissevert 2020-01-04 12:09:06 +0100
  • bac3cc5006 Rename the project «hanafuda-protocol» main Tissevert 2020-01-04 12:04:04 +0100
  • 1dd31d7091 Make reading IDs safe and provide useful debug messages Tissevert 2019-12-27 17:55:42 +0100
  • c6352a9669 Add GameIDs to PublicGame Tissevert 2019-12-27 17:55:14 +0100
  • b62dc4ff28 LogOut becomes a server message (clients just shut the connection now) Tissevert 2019-12-24 00:36:17 +0100
  • d32e61f927 LogIn is back, but now it's a Server message Tissevert 2019-12-08 22:57:57 +0100
  • ce31683fee Generalize the definition of (From|To)JSON(|Key) to all ID types having a prefix as per the newest changes in the lib Tissevert 2019-11-20 18:23:57 +0100
  • f968c41d9d Follow latest changes in Hanafuda.ID Tissevert 2019-11-12 22:18:52 +0100
  • 57370d62ee Throw a couple of Show instance to ease debugging following the e0003c commit in lib Tissevert 2019-11-12 22:18:33 +0100
  • 775abd3ac4 No need to separate connection and logIn now that names are non-unique and the PlayerID is known from the start Tissevert 2019-11-05 18:13:13 +0100
  • 9c5c80fb3a Still working on the protocol : remove useless PlayerStatus type Tissevert 2019-10-28 08:18:48 +0100
  • 816ecbc331 Start removing deprecated data from protocol messages Tissevert 2019-10-23 17:46:33 +0200
  • 43b0200304 Store both hands in private state because it's easier to handle and allow the player's hand to remain unsigned (they can modify it, it's not taken into account by the server) Tissevert 2019-10-22 17:45:07 +0200
  • 8538b8f5ea Store the player turns in the public state of games Tissevert 2019-10-22 17:43:33 +0200
  • e10afdfac1 Rename fields for lighter syntax Tissevert 2019-10-17 19:49:50 +0200
  • 189e29b08c Add a field to store the number of turns played in a round Tissevert 2019-10-17 19:24:43 +0200
  • 818c343e89 Use Base64 to correctly handle binary ByteStrings Tissevert 2019-10-17 18:53:11 +0200
  • 0c2974b055 Add needed JSON instances for PrivateState Tissevert 2019-10-17 12:13:15 +0200
  • 5cccd05290 Use new handier type synonyms from lib Tissevert 2019-10-17 12:12:51 +0200
  • e11a899745 Apparently a nonce will be needed but can be transmitted unciphered along with the message Tissevert 2019-10-17 11:24:36 +0200
  • 9cfcd691fd Export the previously defined data types Tissevert 2019-10-16 18:46:57 +0200
  • c4edae9781 Define a public type for players and keep only the player's hand in private information and public game Tissevert 2019-10-16 18:44:46 +0200
  • 65a7c26b5a Player will need to pass the state of the game along with their move since the server won't remember it for them Tissevert 2019-10-16 18:43:53 +0200
  • 2f7be7df2b Implement a separate public type for games to cipher a part of its content and sign another Tissevert 2019-10-16 10:31:30 +0200
  • 325d9dd610 Release first useable version 0.1.0.0 0.1.0.0 Tissevert 2019-08-24 23:20:04 +0200
  • d52b101bcf Follow renaming (Key -> ID) in hanafuda lib Tissevert 2019-08-24 14:53:46 +0200
  • be593c72d9 Handle FromJSONKey instances properly Tissevert 2019-08-20 14:20:12 +0200
  • 3e0f1834d1 Import everything left in the server's Game module Tissevert 2019-08-19 18:46:04 +0200
  • 2854434dca Lift restrictions on base package version Tissevert 2019-08-19 18:45:32 +0200
  • 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 Tissevert 2019-08-18 22:13:54 +0200
  • 607b253f3b Prefix cabal name with «hanafuda» and export more types used in the webapp Tissevert 2019-08-17 23:10:03 +0200
  • 79c9488543 Taking Message-related stuff out of webapp's Game and Message modules Tissevert 2019-08-15 23:36:20 +0200
  • 0e0cedda99 Initial commit Hanafuda 2019-08-15 20:53:41 +0200