name:                general-games
version:             1.0.5
synopsis:            Library supporting simulation of a number of games
homepage:            https://github.com/cgorski/general-games
bug-reports:         https://github.com/cgorski/general-games/issues
license:             MIT
license-file:        LICENSE
author:              Christopher A. Gorski
maintainer:          cgorski@cgorski.org
copyright:           2017 Christopher A. Gorski
category:            Game, Poker
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

description:
   Library providing framework for simulating outcomes of a variety
   of games, including Poker.

source-repository head
    type:     git
    location: git://github.com/cgorski/general-games.git
                      
library
  hs-source-dirs:      src
  exposed-modules:     Game.Implement.Card
                     , Game.Implement.Card.Standard
                     , Game.Implement.Card.Standard.Poker
                     , Game.Game.Poker

  build-depends:       base >= 4.7 && < 5
                     , random-shuffle
                     , MonadRandom
                     , random
                     , monad-loops
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite general-games-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , general-games
                     , HUnit
                     , hspec
                     , MonadRandom
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N1 -O
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/cgorski/general-games