restaurant_k 0.1.0

A fun game where you guess what number the computer has chosen.
Documentation

pub use kinds::PrimaryColor;
pub use kinds::SecondaryColor;
pub use util::mix;

pub mod kinds {
    pub enum PrimaryColor {
        Red,
        Yellow,
        Blue,
    }

    pub enum SecondaryColor {
        Orange,
        Green,
        Purple,
    }
}

pub mod util {
    use super::kinds::*;

    pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
        SecondaryColor::Green
    }
}