freecell 0.1.0

Game objects and rules for the solitaire card game FreeCell
Documentation
#![macro_use]

// regular error messages
pub const ERR_COULD_NOT_READ_FILE: &str = "File could not be read";
pub const ERR_COULD_NOT_READ_FILE_CONTENTS: &str = "File contents could not be read";
pub const ERR_TOO_MANY_CASCADES: &str = "Too many cascades";
pub const ERR_TOO_MANY_FREECELLS: &str = "Too many freecells";

macro_rules! err_multiple_foundations_of_suit {
    ($suit: expr) => {
        format!("Multiple foundations of suit {} specified", $suit)
    };
}

macro_rules! warn_invalid_first_token {
    ($token: expr) => {
        eprintln!("Line starts with invalid token: {}", $token)
    };
}