Basically github.com/mpereira/tty-solitaire with some of the PRs applied
Go to file
2013-12-24 15:30:33 -02:00
resources Add gameplay GIF. 2013-12-24 15:30:33 -02:00
src Compile and run on OS X. 2013-12-24 14:41:02 -02:00
tests Fix test run. 2013-05-04 16:40:33 -04:00
.gitignore Only update this pattern at root. 2013-12-24 15:30:20 -02:00
Makefile Compile and run on OS X. 2013-12-24 14:41:02 -02:00
README.md Add gameplay GIF. 2013-12-24 15:30:33 -02:00
TODO.md Updated TODO. 2011-06-19 19:40:24 -03:00
VERSION Added initial opt handling and VERSION file. 2011-06-08 01:02:05 -03:00

tty-solitaire

ncurses-based klondlike solitaire game.

ttysolitaire gameplay

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

Running the unit tests

$ make test

Author

Murilo Pereira

License

MIT