Basically github.com/mpereira/tty-solitaire with some of the PRs applied
Go to file
Murilo Pereira 777434177f Added tests for the stack and made them pass.
* 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.
2011-02-13 23:13:16 -02:00
bin I want the empty bin directory on my repo. 2010-04-01 02:33:02 -03:00
lib Added tests for the stack and made them pass. 2011-02-13 23:13:16 -02:00
test Added tests for the stack and made them pass. 2011-02-13 23:13:16 -02:00
.gitignore Ignore objects from all directories. 2011-02-06 23:34:57 -02:00
Makefile Added helper functions for the unit tests. 2011-02-13 19:35:40 -02:00
MIT-LICENSE Renamed license. 2010-04-12 20:43:45 -03:00
README.org Tell people this isn't ready. 2011-02-12 16:47:12 -02:00

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

License

Released under the MIT license.