name: ansi-terminal-game version: 1.9.1.3 x-revision: 2 synopsis: cross-platform library for terminal games description: Library which aims to replicate standard 2d game functions (blit, ticks, timers, etc.) in a terminal setting; features double buffering to optimise performance. Aims to be cross compatible (based on "ansi-terminal", no unix-only dependencies), practical. See @examples@ folder for some minimal programs. A full game: . homepage: http://www.ariis.it/static/articles/libraries/page.html#ansi-terminal-game license: GPL-3 license-file: COPYING author: Francesco Ariis et al. (see AUTHORS) maintainer: fa-ml@ariis.it copyright: © 2017-2023 Francesco Ariis et al. category: Game build-type: Simple extra-source-files: README, NEWS, AUTHORS, test/records/alone-record-test.gr, test/records/alone-record-left.gr, test/records/balls-dims.gr, test/records/balls-slow.gr cabal-version: >=1.10 flag examples description: builds examples default: False source-repository head type: git location: http://www.ariis.it/static/repos/stagit/ansi-terminal-game/ library exposed-modules: Terminal.Game other-modules: Terminal.Game.Animation, Terminal.Game.Character, Terminal.Game.Draw, Terminal.Game.Layer.Imperative, Terminal.Game.Layer.Object, Terminal.Game.Layer.Object.GameIO, Terminal.Game.Layer.Object.Interface, Terminal.Game.Layer.Object.IO, Terminal.Game.Layer.Object.Narrate, Terminal.Game.Layer.Object.Primitive, Terminal.Game.Layer.Object.Record, Terminal.Game.Layer.Object.Test, Terminal.Game.Utils, Terminal.Game.Plane, Terminal.Game.Random, Terminal.Game.Timer build-depends: base == 4.*, ansi-terminal >= 0.11 && < 1.1, array == 0.5.*, bytestring >= 0.10 && < 0.13, cereal == 0.5.*, clock >= 0.7 && < 0.9, containers >=0.6 && <0.8, exceptions == 0.10.*, linebreak == 1.1.*, mintty == 0.1.*, mtl >=2.2 && <2.4, QuickCheck >= 2.13 && < 2.15, random >= 1.2 && < 1.3, split == 0.2.*, terminal-size == 0.3.*, unidecode >= 0.1.0 && < 0.2, timers-tick > 0.5 && < 0.6, colour >= 2.3.6 && < 2.4 hs-source-dirs: src default-language: Haskell2010 ghc-options: -Wall if os(windows) hs-source-dirs: platform-dep/windows if !os(windows) hs-source-dirs: platform-dep/non-win test-suite test default-language: Haskell2010 hs-Source-Dirs: test, src, example main-is: Test.hs other-modules: Alone, Balls, Terminal.Game, Terminal.Game.Animation, Terminal.Game.Character, Terminal.Game.Draw, Terminal.Game.DrawSpec, Terminal.Game.Layer.Imperative, Terminal.Game.Layer.ImperativeSpec, Terminal.Game.Layer.Object, Terminal.Game.Layer.Object.GameIO, Terminal.Game.Layer.Object.Interface, Terminal.Game.Layer.Object.IO, Terminal.Game.Layer.Object.Narrate, Terminal.Game.Layer.Object.Primitive, Terminal.Game.Layer.Object.Record, Terminal.Game.Layer.Object.Test, Terminal.Game.Layer.Object.TestSpec, Terminal.Game.Utils, Terminal.Game.Plane, Terminal.Game.PlaneSpec Terminal.Game.Random, Terminal.Game.RandomSpec build-depends: base == 4.*, ansi-terminal >= 0.11 && < 1.1, array == 0.5.*, bytestring >= 0.10 && < 0.13, cereal == 0.5.*, clock >= 0.7 && < 0.9, containers >=0.6 && <0.8, exceptions == 0.10.*, linebreak == 1.1.*, mintty == 0.1.*, mtl >=2.2 && <2.4, QuickCheck >= 2.13 && < 2.15, random >= 1.2 && < 1.3, split == 0.2.*, terminal-size == 0.3.*, unidecode >= 0.1.0 && < 0.2, timers-tick > 0.5 && < 0.6, colour >= 2.3.6 && < 2.4 -- the above plus hspec , hspec >= 2.10.1 && < 2.12 build-tool-depends: hspec-discover:hspec-discover type: exitcode-stdio-1.0 ghc-options: -Wall if os(windows) hs-source-dirs: platform-dep/windows if !os(windows) hs-source-dirs: platform-dep/non-win executable alone if flag(examples) build-depends: base == 4.*, ansi-terminal-game else buildable: False hs-source-dirs: example main-is: MainAlone.hs other-modules: Alone default-language: Haskell2010 ghc-options: -threaded -Wall executable alone-playback if flag(examples) build-depends: base == 4.*, ansi-terminal-game, temporary == 1.3.* else buildable: False hs-source-dirs: example main-is: MainPlayback.hs other-modules: Alone default-language: Haskell2010 ghc-options: -threaded -Wall executable balls if flag(examples) build-depends: base == 4.*, ansi-terminal-game else buildable: False hs-source-dirs: example main-is: MainBalls.hs other-modules: Balls default-language: Haskell2010 ghc-options: -threaded -Wall executable hot-reload if flag(examples) build-depends: base == 4.*, ansi-terminal-game else buildable: False hs-source-dirs: example main-is: MainHotReload.hs other-modules: Alone default-language: Haskell2010 ghc-options: -threaded -Wall