cardtype
struct cardtype *ptr;
simpletableau(struct cardtype **cp, int des)
struct cardtype *tempcard;
struct cardtype *temp;
rankhigher(struct cardtype *cp, int let)
samesuit(struct cardtype *cp, int let)
movetofound(struct cardtype **cp, int source)
struct cardtype *next;
#define NIL ((struct cardtype *) -1)
struct cardtype *deck[decksize];
struct cardtype cards[decksize];
struct cardtype *bottom[4], *found[4], *tableau[4];
struct cardtype *talon, *hand, *stock, *basecard;
static bool diffcolor(struct cardtype *, struct cardtype *);
static void fndbase(struct cardtype **, int, int);
static void initdeck(struct cardtype *[]);
static void movetofound(struct cardtype **, int);
static bool notempty(struct cardtype *);
static void printcard(int, int, struct cardtype *);
static void printrank(int, int, struct cardtype *, bool);
static bool rankhigher(struct cardtype *, int);
static bool ranklower(struct cardtype *, struct cardtype *);
static bool samesuit(struct cardtype *, int);
static void shuffle(struct cardtype *[]);
static void simpletableau(struct cardtype **, int);
static bool tabok(struct cardtype *, int);
static void transit(struct cardtype **, struct cardtype **);
struct cardtype *ptr;
initdeck(struct cardtype *ideck[])
shuffle(struct cardtype *ideck[])
struct cardtype *temp;
printrank(int a, int b, struct cardtype *cp, bool inverse)
printcard(int a, int b, struct cardtype *cp)
transit(struct cardtype **source, struct cardtype **dest)
struct cardtype *temp;
fndbase(struct cardtype **cp, int column, int row)
notempty(struct cardtype *cp)
ranklower(struct cardtype *cp1, struct cardtype *cp2)
diffcolor(struct cardtype *cp1, struct cardtype *cp2)
tabok(struct cardtype *cp, int des)
struct cardtype *ptr;