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

49 lines
1.1 KiB
Markdown

# 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](http://dl.dropbox.com/u/14256545/tty_solitaire_screenshot_shadowed_0.png)
![Game start picture](http://dl.dropbox.com/u/14256545/tty_solitaire_screenshot_shadowed_1.png)
![Game middle picture](http://dl.dropbox.com/u/14256545/tty_solitaire_screenshot_shadowed_2.png)
## Running the unit tests
$ make test
## Author
[Murilo Pereira](http://murilopereira.com)
## License
[MIT](http://opensource.org/licenses/MIT)