By Manny Jois
Text based 2048 implemented using Rust and ncurses.
If you'd like to play, read these instructions on how to install Rust. Then clone this repo and inside it run cargo build
to build and target/twenty48
to run.
Text based 2048 implemented using Rust and ncurses.
License: MIT License
By Manny Jois
Text based 2048 implemented using Rust and ncurses.
If you'd like to play, read these instructions on how to install Rust. Then clone this repo and inside it run cargo build
to build and target/twenty48
to run.
Compiling libc v0.1.1
Running rustc /Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature="default" --cfg feature="cargo-build" -C metadata=6b537f2898b2a028 -C extra-filename=-6b537f2898b2a028 --out-dir /Users/xxx/Documents/workbench/workspace-rust/twenty48/target/debug/deps --emit=dep-info,link -L dependency=/Users/xxx/Documents/workbench/workspace-rust/twenty48/target/debug/deps -L dependency=/Users/xxx/Documents/workbench/workspace-rust/twenty48/target/debug/deps -Awarnings
/Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:79:46: 79:51 error: expected ident, found "std"
/Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:79 #[cfg(feature = "cargo-build")] extern crate "std" as core;
^~~~~
/Users/xxx/.cargo/git/checkouts/ncurses-rs-19e4d6676c1c76f9/master/src/ncurses.rs:1601:27: 1601:30 error: illegal suffix us
for numeric literal
/Users/xxx/.cargo/git/checkouts/ncurses-rs-19e4d6676c1c76f9/master/src/ncurses.rs:1601 { NCURSES_BITS(((1u32) << 8us) - 1u32, 0u32) as i32 }
^~~
/Users/xxx/.cargo/git/checkouts/ncurses-rs-19e4d6676c1c76f9/master/src/ncurses.rs:1601:27: 1601:30 help: the suffix must be one of the integral types (u32
, isize
, etc)
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
/Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.2.2/src/lib.rs:570:5: 572:6 error: method deref
has an incompatible type for trait: expected bound lifetime parameter 'a, found concrete lifetime [E0053]
/Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.2.2/src/lib.rs:570 fn deref(&self) -> &Box {
/Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.2.2/src/lib.rs:571 unsafe { mem::transmute(self.0) }
/Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.2.2/src/lib.rs:572 }
error: aborting due to previous error
Could not compile libc
.
Caused by:
Process didn't exit successfully: rustc /Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature="default" --cfg feature="cargo-build" -C metadata=6b537f2898b2a028 -C extra-filename=-6b537f2898b2a028 --out-dir /Users/xxx/Documents/workbench/workspace-rust/twenty48/target/debug/deps --emit=dep-info,link -L dependency=/Users/xxx/Documents/workbench/workspace-rust/twenty48/target/debug/deps -L dependency=/Users/xxx/Documents/workbench/workspace-rust/twenty48/target/debug/deps -Awarnings
(exit code: 101)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.