Commit Graph

17 Commits

Author SHA1 Message Date
Tissevert 61eeac8bc6 Add IDs handling directly in library + add a couple useful functions on Hanafuda cards 2019-08-24 23:04:37 +02:00
Tissevert f1ee562809 Handle the end of games 2019-08-12 23:07:09 +02:00
Tissevert 14d58d002e Replace list by triple in deal function following error on failable pattern with GHC 8.6.3 2019-01-13 13:17:49 +01:00
Tissevert 18d544e13f Remove constructor for errors to handle them in a MonadError instead and add a MonadWriter for logs 2019-01-08 22:37:09 +01:00
Tissevert 561ef5060d Generalize the output monad of basic functions by only expressing constraints on it 2019-01-08 22:34:29 +01:00
Sasha f2428f353f Remove WillowRed accidentally present in plains' set 2018-08-27 20:12:03 +02:00
Sasha 46071152a4 Reset all of player's properties when dealing cards 2018-07-28 19:23:16 +02:00
Sasha 4d1a2f7fee Bumping to 0.3.0.0 for making the Game type signature parametric in the players' type 2018-07-24 22:34:29 +02:00
Sasha 8ad996914d Unify Points type + export it with Score and Step types in module KoiKoi 2018-05-12 11:17:37 +02:00
Sasha 0c58e94c6f Add missing import needed to use the library 2018-03-28 22:39:01 +02:00
Sasha 091e0e5c55 Fix warnings 2018-03-19 12:28:15 +01:00
Sasha b63c06a317 Restructure project to expose only what's needed to play KoiKoi and hide
all the inner logic in that module
2018-03-16 12:18:33 +01:00
Sasha d596a220b5 Refactor to put all KoiKoi specifics into a separate submodule 2018-03-10 23:25:44 +01:00
Sasha 7d672589b2 Remove unused imports, minor code simplifications 2018-03-09 18:12:27 +01:00
Sasha 5b78285303 Optimize game states and moves to reduce client-server to-and-fro 2018-03-09 18:12:27 +01:00
Sasha 95b2132a10 Purify types into newtypes to ease writing instances 2018-03-09 18:12:27 +01:00
Sasha dfccff2915 Package with cabal and implement game automaton 2018-03-09 18:12:22 +01:00