tty-solitaire/README.md
2013-12-24 14:46:37 -02:00

1.1 KiB

tty-solitaire

ncurses-based klondlike solitaire game.

Dependencies

  • Terminal emulator with UTF-8 support
  • C library with multibyte locales support
  • libncursesw

Installing libncursesw

Ubuntu

$ sudo apt-get install libncursesw5-dev

OS X

$ sudo port install ncurses

Compile

$ git clone https://github.com/mpereira/tty-solitaire.git
$ cd tty-solitaire
$ make

Install

$ sudo make install

Play

$ ttysolitaire

Usage

usage: ttysolitaire [-v|--version] [-h|--help] [-p|--passes=NUMBER]
  -v, --version  Show version
  -h, --help     Show this message
  -p, --passes   Number of passes through the deck

Screenshots

Greeting screen picture Game start picture Game middle picture

Running the unit tests

$ make test

Author

Murilo Pereira

License

MIT