A TUI Rust clone of the single-player sliding tile puzzle video game written by Italian web developer Gabriele Cirulli. The objective of the game is to slide numbered tiles on a grid to combine them to create a tile with the number 2048.
2048.mp4
NOTE: Rust development environment (install from rustup.rs)
# Clone the repository
git clone https://github.com/freddiehaddad/2048.git
cd 2048
# Run via cargo
cargo run --release
# Build
cargo build --release
# Run the executable (Linux/Mac)
./target/release/2048
# Run the executable (Windows)
./target/release/2048.exe| Action | Keybindings |
|---|---|
| Move Up | ↑ / W / K |
| Move Down | ↓ / S / J |
| Move Left | ← / A / H |
| Move Right | → / D / L |
| Restart | R |
| Quit | Q |
This project is licensed under the MIT License.
For questions or feedback, please open an issue on GitHub.
Built with ❤️ and Rust