/*
 * rules.h - Rules for freecell.
 */

/*
 * r_cardonstack(from, to) -> bool
 * 
 * Returns TRUE if you can put from on to when to is the bottom card in
 * a stack
 */
int r_cardonstack(struct card *, struct card *);

/*
 * r_cardonpile(from, to) -> bool
 * 
 * Returns TRUE iff you can put from on to when to is the top card in a
 * pile. 
 */
int r_cardonpile(struct card *, struct card *);
