tty-solitaire/lib
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
..
card.c Avoid dereferencing NULL pointers. 2011-02-12 01:26:03 -02:00
card.h Pessimistic memory allocation. 2011-02-06 03:45:58 -02:00
cursor.c Fixing indendation for 'switch'es. 2011-02-06 04:14:17 -02:00
cursor.h Pessimistic memory allocation. 2011-02-06 03:45:58 -02:00
deck.c Avoid dereferencing NULL pointers. 2011-02-12 01:26:03 -02:00
deck.h Pessimistic memory allocation. 2011-02-06 03:45:58 -02:00
display.c Declaring local functions as static. 2011-02-06 04:51:49 -02:00
display.h Declaring local functions as static. 2011-02-06 04:51:49 -02:00
frame.c Avoid dereferencing NULL pointers. 2011-02-12 01:26:03 -02:00
frame.h Pessimistic memory allocation. 2011-02-06 03:45:58 -02:00
game.c Removed noob debugging. 2011-02-11 23:58:01 -02:00
game.h Declaring local functions as static. 2011-02-06 04:51:49 -02:00
keyboard.c Declaring local functions as static. 2011-02-06 04:51:49 -02:00
keyboard.h Declaring local functions as static. 2011-02-06 04:51:49 -02:00
stack.c Added tests for the stack and made them pass. 2011-02-13 23:13:16 -02:00
stack.h Declaring local functions as static. 2011-02-06 04:51:49 -02:00
ttysolitaire.c Rename header and remove unnecessary function call. 2011-02-12 13:56:31 -02:00
util.c Include header. 2011-02-09 23:13:44 -02:00
util.h Broke some functions into smaller pieces, added the initial keyboard interface. 2010-04-13 01:07:06 -03:00