Dependencies
- Terminal emulator with UTF-8 support
- C library with multibyte locales support
- Ncurses with wide-char/UTF-8 support
Installing Ncurses
Ubuntu
$ sudo apt-get install libncurses5-dev libncursesw5-dev
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
$ sudo make install
Leave a Reply
You must be logged in to post a comment.