From d58d71a56fc8bdeb83bbedfd50356e90ab71374b Mon Sep 17 00:00:00 2001 From: Coeuvre Date: Wed, 30 Jul 2014 09:36:34 +0800 Subject: [PATCH] Updated README.md --- README.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f7def7e..c3128de 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,25 @@ Use arrow key to move tiles. ## Building Instructions -Clone [piston-workspace](https://github.com/PistonDevelopers/piston-workspace) and build it (You can follow the instructions in that repo). - -Copy all the `syslink` files to 'target/cpu-vendor-os/lib/': - -In the Terminal window, navigate to the project folder and type: +To build this repository, you need [Cargo](https://github.com/rust-lang/cargo). +Clone this repository ``` -make run +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 ```