Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.1 KB

README.md

File metadata and controls

47 lines (38 loc) · 1.1 KB

2048

gameplay

A simple 2048 game implemented using ggez.

How To Play

Download compiled binary, then extract it.

$ unzip 2048.zip

Simply run the binary.

$ ./simple-2048

Build From Source

Make sure you have rust 1.3.4 installed on your system.

Clone this repository

$ git clone https://github.com/alvinmatias69/simple-2048.git
$ cd simple-2048

Compile the project using release configuration

$ cargo build --release

Copy project resources to target directory (unfortunately this method can't be automated yet)

$ cp resources/*.* target/release/resources

Execute the binary

$ ./target/release/simple-2048

Keybinding List

  • Start a new game: ctrl + n
  • Navigate Up: w / k /
  • Navigate Down: s / j /
  • Navigate Left: a / h /
  • Navigate Right: d / l /
  • Exit: ctrl + q