A simple terminal-based version of the classic 2048 game, written in Rust. Use your arrow keys to slide and combine tiles. The goal is to reach the 2048 tile!
To enable autosaving and loading, set the TUI2048_SAVE_PATH to a file path before starting the game. This file, as well as the directories in the path will be created if they do not exist.
Example:
TUI2048_SAVE_PATH=~/.2048/save tui2048This project uses standard Rust tooling.
- Make sure you have Rust installed.
- Clone the repository or download the source.
- Build and run the game with:
cargo run --release
You can also build the executable with:
cargo build --release
