Updated README.md
This commit is contained in:
parent
51da5b9a9c
commit
d58d71a56f
1 changed files with 18 additions and 6 deletions
24
README.md
24
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
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue