Basically github.com/mpereira/tty-solitaire with some of the PRs applied
777434177f
* Make 'empty(stack)' more robust * Only try to 'push(stack, card)' if card != NULL * Added message explaining why 'pop(stack)' needs to create a new stack object when popping a stack's last element * 'move_card(stack, stack)' now checks if the origin pops something before trying to 'push(stack)' to destination. This prevents dereferencing a possible NULL pointer. |
||
---|---|---|
bin | ||
lib | ||
test | ||
.gitignore | ||
Makefile | ||
MIT-LICENSE | ||
README.org |
tty-solitaire
ncurses-based klondlike solitaire game
Warning
This game is under development. There are some basic functionality but it's not playable yet.
Run the game
$ git clone git://github.com/murilasso/tty-solitaire.git
$ cd tty-solitaire
$ make && bin/ttysolitaire
Run the unit tests
$ make test
Author
License
Released under the MIT license.