Commit Graph

19 Commits

Author SHA1 Message Date
Sasha dfccff2915 Package with cabal and implement game automaton 2018-03-09 18:12:22 +01:00
Sasha 034fee8ecd Implement KoiKoi's yakus 2018-02-26 09:07:53 +01:00
Sasha 786dfe4bb8 Expose the size of card packs 2018-02-26 09:03:43 +01:00
Sasha c2a324b905 Remove unused and broken modules 2018-02-25 23:17:51 +01:00
Sasha 6dbd72cf36 Card as enum and packs with bit sets 2018-02-25 23:15:43 +01:00
Sasha e7619af640 First attempt at defining the game's states 2018-02-04 23:01:42 +01:00
Sasha ea96530511 Initial state generation 2018-02-04 22:59:22 +01:00
Sasha b03e97bb81 Implement card capture (さくら!) 2018-02-03 18:25:11 +01:00
Sasha c95d611024 Build yaku dictionary a bit more efficiently 2018-02-03 18:23:31 +01:00
Sasha 3f43d960f4 Take KoiKoi-specific objects out of Cards module 2018-02-03 18:08:17 +01:00
Sasha 3ffabc578e Build a yaku dictionary indexed by Cards 2018-02-02 17:44:35 +01:00
Sasha 871f1a383f Shuffle is more a CCard thing than something specific to KoiKoi or other Games 2018-02-02 17:25:10 +01:00
Sasha 51436f4eb2 Shorten shuffle and improve its randomness (previous one declusters poorly) 2018-02-01 18:34:24 +01:00
Sasha 77bc2faa4e Implement shuffle 2018-02-01 18:07:31 +01:00
Sasha 561df60b57 Start implementing yakus 2018-02-01 14:04:21 +01:00
Sasha 4659f308a2 Use enum instead of magic int constants 2018-02-01 12:23:44 +01:00
Sasha 59beaa5cc9 Add cards packs 2018-01-30 18:18:12 +01:00
Sasha 7de6040289 Try a stub of a C-style version of types 2018-01-30 17:34:47 +01:00
Sasha f7b3f21a83 Start with a Card module and a stub of Game 2018-01-22 22:50:40 +01:00