35 lines
471 B
Markdown
35 lines
471 B
Markdown
rust-2048
|
|
=========
|
|
|
|
A 2048 clone with Piston game engine.
|
|
|
|
How to play
|
|
-----------
|
|
Use arrow key to move tiles.
|
|
|
|

|
|
|
|
## Building Instructions
|
|
|
|
To build this repository, you need [Cargo](https://github.com/rust-lang/cargo).
|
|
|
|
Clone this repository
|
|
```
|
|
git clone https://github.com/Coeuvre/rust-2048.git
|
|
```
|
|
|
|
Use Cargo to build
|
|
```
|
|
cargo build
|
|
```
|
|
|
|
Move binary to `bin` directory
|
|
```
|
|
mv ./target/rust-2048 ./bin
|
|
```
|
|
|
|
Play!
|
|
```
|
|
./bin/rust-2048
|
|
```
|
|
|