![](https://camo.githubusercontent.com/d72cec64c3e1032940b2b21bf4a6266c2b1e1817/68747470733a2f2f7261772e6769746875622e636f6d2f6d706572656972612f7474792d736f6c6974616972652f6d61737465722f7265736f75726365732f747479736f6c6974616972652e676966)
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.