packages feed

deterministic-game-engine-0.3.0: deterministic-game-engine.cabal

name:                deterministic-game-engine
version:             0.3.0
synopsis:            Simple deterministic game engine
description:         Haskell library for creating simple deterministic games,
                     such as tic-tac-toe. The engine requires a minimal set of
                     actions related to the game, and then will run the game
                     until a terminal state is reached.
license:             MIT
license-file:        LICENSE
author:              Tyler Olson
maintainer:          tydotg@gmail.com
homepage:            https://github.com/TGOlson/deterministic-game-engine
bug-reports:         https://github.com/TGOlson/deterministic-game-engine/issues
category:            Game Engine
build-type:          Simple
cabal-version:       >=1.10


Source-repository head
    Type:     git
    Location: https://github.com/TGOlson/deterministic-game-engine


library
  hs-source-dirs:      src
  exposed-modules:     Game.Deterministic.GameEngine
  other-modules:       Game.Deterministic.GameEngine.GameActions,
                       Game.Deterministic.GameEngine.GameState,
                       Game.Deterministic.GameEngine.Move,
                       Game.Deterministic.GameEngine.Player

  build-depends:       base <5.0,
                       mtl

  default-language:    Haskell2010


test-suite test
  hs-source-dirs:      spec
  main-is:             Spec.hs
  ghc-options:         -Wall
  type:                exitcode-stdio-1.0
  build-depends:       base <5.0,
                       hspec >=2.1 && <2.2,
                       deterministic-game-engine ==0.3.0

  default-language:    Haskell2010