# twozero48 🎰
A CLI implementation of 2048, in rust

## Demo
[![asciicast](https://asciinema.org/a/YrPRD3VXfg5bK6FT.svg)](https://asciinema.org/a/YrPRD3VXfg5bK6FT)

## Installation
To play the game, first install the crate:
```sh
cargo install twozero48
```

If you want to compile from source, [ensure you have the rust tool chain installed](https://rustup.rs/), by going to after cloning to local and opening the directory in terminal, run
```sh
cargo run
```

## Usage

```sh
twozero48
twozero48 --board-size 5 --winning 4096
twozero48 --help

---
CONTROLS:

WASD / arrow keys: move
Q / Esc / Ctrl-C: quit
```

## License
Code in this repository is licensed under the permissive MIT license. All code contributions are by default considered to be under the same.
