Hey!
Cool 2048 clone! I was not able to compile it with Rust 1.11 due to an old version of crossbeam in the piston dependencies (see aturon/crossbeam#75). I updated the piston dependencies in the Cargo.toml file to the latest stable versions.
I changed lines with default_draw_state() to &DrawState::default(). Actually, I am not sure about that change, because I have not worked that much with Piston. That just seemed the most obvious fix.
Hey! Cool 2048 clone! I was not able to compile it with Rust 1.11 due to an old version of crossbeam in the piston dependencies (see aturon/crossbeam#75). I updated the piston dependencies in the Cargo.toml file to the latest stable versions.
I changed lines with default_draw_state() to &DrawState::default(). Actually, I am not sure about that change, because I have not worked that much with Piston. That just seemed the most obvious fix.
Another change was the type of the actual window and the specification of the OpenGL version. The documentation at http://docs.piston.rs/piston_window/window/struct.WindowSettings.html suggests, that OpenGL 3.2 is the default version.
Furthermore, the event loop format is different now and I changed it based on the example at http://www.piston.rs/.
Denis