1.4 KiB

Revision history for hanafuda -- 2019-08-24

  • Add IDs handling directly in library : it's a newtype phantom type to generate IDs for any type and it's used to make IDs for players and KoiKoi games which allows to decrease the arity of the Player constructor
  • Some more useful function were added to the Hanafuda module : they simplify Yakus a bit and will be useful for Hannah, the bot to come soon — Yakus were extended further by defining a notion of distance to a Yaku that will hopefully help a bot determine how close it is from scoring a Yaku -- 2019-08-12

  • Handle the end of games -- 2019-01-08

  • Generalize the output monad of basic functions by only expressing constraints on it
  • Remove constructor for errors to handle them in a MonadError instead and add a MonadWriter for logs -- 2018-08-27

  • Remove WillowRed accidentally present in plains' set -- 2018-07-28

  • Fix bug causing players' state to be persisted accross rounds of a game -- 2018-05-28

  • Make Game type parametric in the type to represent players -- 2018-03-16

  • Export some more types needed to export the game's state
  • Unify the different types aliases for Points used in Player and Yaku -- 2018-03-16

  • Restructured the project to expose only the cards, a parametric type for players, and a module to play KoiKoi -- 2018-03-03

  • Game automaton, packaged with cabal