rust-2048
rust-2048 copied to clipboard
A 2048 clone with Piston game engine
Hi, everyone, I'm trying to build it on a MacOS 12.3.1 with rust 1.61.0. however, I received a lot of build errors. it looks many functions that being used is...
I cloned and built this project, and I get a error. Terminal Log: > Updating registry `https://github.com/rust-lang/crates.io-index` error: failed to select a version for `rusttype` (required by `piston2d-gfx_graphics`): all possible...
Update settings.rs to use serde_json instead of rustc-serialize Update dependencies Closes #30
This is just an intermediate fix, since `rustc-serialize` has been deprecated in favor of `serde` (see https://crates.io/crates/rustc-serialize). In the medium term we should switch to `serde`. Fixes #30.
I followed the solution given here https://github.com/coeuvre/rust-2048/issues/24 The .lock file was deleted and I changed the dependency versions. Now Cargo build spits out this error. warning: unused import: `Encodable` -->...
Building with `rustc v1.26.2` results in the following error message: ``` $ cargo build [...] Compiling rustc-serialize v0.3.19 error[E0642]: patterns aren't allowed in methods without bodies --> /home/s/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 | 147...
After fixing all errors I build again, and everything seems to work but when I run: ## **BUILD** `$ cargo build` **Output :+1:** `Finished dev [unoptimized + debuginfo] target(s) in...
I'm new to Piston graphics and I can't find any documentation for these particular functions I see being called from your main event loop. In my own app I just...