Added function to fill the deck.

This commit is contained in:
Murilo Soares Pereira
2010-04-08 01:11:11 -03:00
parent 90c7ce6280
commit b94341b70d
3 changed files with 71 additions and 2 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
#include <malloc.h>
#include <string.h>
#include <locale.h>
#include "deck.h"
#include "display.h"
void init_curses() {
@@ -53,7 +54,7 @@ void initialize_game() {
draw_empty_stacks();
allocate_deck(&deck);
initialize_deck(deck);
delete_deck(deck);
fill_deck(deck);
return;
}