Compare commits

..

9 commits

2 changed files with 5 additions and 10 deletions

View file

@ -1,10 +1,5 @@
# Revision history for hanafuda # Revision history for hanafuda
## 0.3.3.0 -- 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
## 0.3.2.0 -- 2019-08-12 ## 0.3.2.0 -- 2019-08-12
* Handle the end of games * Handle the end of games

View file

@ -2,7 +2,7 @@
-- documentation, see http://haskell.org/cabal/users-guide/ -- documentation, see http://haskell.org/cabal/users-guide/
name: hanafuda name: hanafuda
version: 0.3.3.0 version: 0.3.2.0
synopsis: A game of Hanafuda (a family of japanese card games) synopsis: A game of Hanafuda (a family of japanese card games)
description: This is a library to represent the cards and the players description: This is a library to represent the cards and the players
of games in this family. It also implements one such game of games in this family. It also implements one such game
@ -13,11 +13,11 @@ description: This is a library to represent the cards and the players
new game and playing moves. Its approach is move-by-move : new game and playing moves. Its approach is move-by-move :
a game's state is computed from the previous state and a a game's state is computed from the previous state and a
move. move.
homepage: https://git.marvid.fr/hanafuda homepage: https://framagit.org/hanafuda
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
author: Tissevert author: Sasha
maintainer: tissevert+devel@marvid.fr maintainer: sasha+frama@marvid.fr
-- copyright: -- copyright:
category: Game category: Game
build-type: Simple build-type: Simple
@ -25,7 +25,7 @@ extra-source-files: ChangeLog.md
cabal-version: >=1.10 cabal-version: >=1.10
source-repository head source-repository head
type: git type: git
location: https://git.marvid.fr/hanafuda/lib location: https://framagit.org/hanafuda/lib
library library
exposed-modules: Hanafuda exposed-modules: Hanafuda