/* Stones esoteric programming language
 * (c) 2016 Zack Hixon - see LICENSE.txt */

#[derive(Debug)]
//#[derive(Copy, Clone)]
struct Stone {
    x: i32,
    y: i32,
    id: i32
}

fn main() {
    let mut stone = Stone {x: 32, y: 32, id: 1};
    println!("{:?}", stone);

    stone.x = 64;
    stone.y = 64;
    stone.id = 2;

    println!("{:?}", stone);
}


/* Stones esoteric programming language
 * (c) 2016 Zack Hixon - see LICENSE.txt */

#[derive(Debug)]
//#[derive(Copy, Clone)]
struct Stone {
    id: i32,
    color: String
}

fn main() {
    let mut stone = Stone {id: 1, color: String::from("yellow")};
    println!("{:?}", stone);

    stone.id = 2;
    stone.color = String::from("blue");

    println!("{:?}", stone);
}


Change Stone struct\n\nRemove x/y coordinates, change to color. Coords will be handled in some sort of vector probably
Change Stone struct\n\nRemove x/y coordinates, change to color. Coords will be handled in some sort of vector probably
