Commit Graph

16 Commits

Author SHA1 Message Date
7a324ee7ef Add gameID directly into Game data structure 2020-01-13 08:40:38 +01:00
ce0f51720a Declare ID for Games 2020-01-04 12:07:26 +01:00
e0003c5906 Make Move instance of Show to ease generating debug message 2019-11-12 22:11:45 +01:00
e12f8e1f0d Take player turns out of the Player data structure 2019-10-22 17:42:23 +02:00
d2918c5256 Finally export the useful Player type instanciated for KoiKoi games since that the only ones we support so far 2019-10-21 23:29:21 +02:00
ff1a31a105 Remove parameter from Game type, games will be shared publicly with a different type 2019-10-16 10:30:31 +02:00
61eeac8bc6 Add IDs handling directly in library + add a couple useful functions on Hanafuda cards 2019-08-24 23:04:37 +02:00
f1ee562809 Handle the end of games 2019-08-12 23:07:09 +02:00
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
Sasha
f2428f353f Remove WillowRed accidentally present in plains' set 2018-08-27 20:12:03 +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
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