|
ffede0b4c9
|
Actually, why name IDs «Key» when that will be needed for encryption ?
|
2019-08-24 22:48:48 +02:00 |
|
|
3615c29a47
|
Add and expose more useful functions on Hanafuda cards and use them in Yakus computations
|
2019-08-22 17:45:33 +02:00 |
|
|
3b50479612
|
Add a notion of «distance to a Yaku» that will be useful to Hannah
|
2019-08-22 17:37:01 +02:00 |
|
|
5a89cb4064
|
Export only values of Hanafuda.KoiKoi.Yaku used outside this module
|
2019-08-22 17:35:48 +02:00 |
|
|
f45d3a383e
|
Derive an instance of Read for Yaku to allow making a proper FromJSONKey instance of it in APILanguage
|
2019-08-20 14:19:31 +02:00 |
|
|
e037748199
|
Expose function sameMonth useful for clients too, and make it more handy
|
2019-08-20 14:17:37 +02:00 |
|
|
3056974e12
|
Generalizing the Game type to include the public version exported to clients
|
2019-08-18 22:08:22 +02:00 |
|
|
efddc9f07e
|
Defining a generic Key newtype to provide IDs for Players and Games
|
2019-08-15 23:34:59 +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 |
|
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 |
|