ghcup-hs/vendored/ansi-terminal-game-1.8.0.0
2023-01-05 21:41:01 +08:00
..
example Add ansi-terminal-game 2023-01-05 21:41:00 +08:00
platform-dep Add ansi-terminal-game 2023-01-05 21:41:00 +08:00
src/Terminal Patch to ansi-terminal-game 2023-01-05 21:41:01 +08:00
test Add ansi-terminal-game 2023-01-05 21:41:00 +08:00
ansi-terminal-game.cabal Add ansi-terminal-game 2023-01-05 21:41:00 +08:00
COPYING Add ansi-terminal-game 2023-01-05 21:41:00 +08:00
NEWS Add ansi-terminal-game 2023-01-05 21:41:00 +08:00
README Add ansi-terminal-game 2023-01-05 21:41:00 +08:00
Setup.hs Add ansi-terminal-game 2023-01-05 21:41:00 +08:00

==================
ansi-terminal-game
==================

`ansi-terminal-game` is a library for creating games in a terminal setting.

Goals
-----

- be cross platform (linux/win/mac). If you plan to have your executable
  unix only, I invite you to check brick [1] or other, more expressive
  libraries.
- be simple: no curses/ncurses/pdcurses/etc. dependencies, all
  functionality built on a standard input / ANSI terminal base.

[1] http://hackage.haskell.org/package/brick

Learn
-----

- run the basic example with `cabal new-run -f examples alone`;
- check the source in `examples/Alone.hs`;
- open the 'Terminal.Game' haddock documentation (start reading from
  `Data.Game`).

A full game can be found at:

    http://www.ariis.it/static/articles/venzone/page.html

Other games made with a-t-g
---------------------------

- caverunner:
    https://github.com/simonmichael/games/blob/main/caverunner/caverunner.hs
- pigafetta: http://www.ariis.it/link/repos/pigafetta/
- avoidance: https://sabadev.xyz/avoidance_game

If you want yours to be added to this list, write to me.

Contact
-------

For any feedback or report, contact me at:

    http://ariis.it/static/articles/mail/page.html