A beautiful terminal-based implementation of the classic 2048 game, written in Rust! ๐ฆ
- ๐จ Beautiful color-coded tiles matching the original 2048 game
- ๐ Real-time score tracking
- โจ๏ธ Arrow key controls
- ๐ฏ Classic 2048 gameplay mechanics
Make sure you have Rust installed on your system.
# Clone the repository
git clone https://github.com/yourusername/2048.git
cd 2048
# Build the project
cargo build --release
# Run the game
cargo run --releaseOr simply:
cargo run- Arrow Keys - Move tiles in the corresponding direction
- R - Restart the game
- Q or Esc - Quit the game
Combine tiles with the same number to reach the 2048 tile! ๐ฏ
- Rust - Systems programming language
- crossterm - Cross-platform terminal manipulation
- rand - Random number generation
This project is licensed under the Apache License, Version 2.0.
You are free to use, modify, distribute, and even sell this code for any purpose, commercial or non-commercial. The only requirement is that you include the Apache 2.0 license and copyright notice when redistributing. ๐
Contributions are welcome! Feel free to open an issue or submit a pull request.
- Original 2048 game by Gabriele Cirulli
Made with โค๏ธ and Rust ๐ฆ
