Basically github.com/mpereira/tty-solitaire with some of the PRs applied
resources | ||
src | ||
tests | ||
.gitignore | ||
Makefile | ||
README.md | ||
TODO.md | ||
VERSION |
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
Running the unit tests
$ make test