# 2048: Endgame **2048: Endgame** - Bash Your Way Through Multipliers, Dividers, and the Forbidden 1! ## Features - Play 2048 in your terminal with simple keyboard commands. - No dependencies-just Bash! - Keeps track of your score. - New [multiplier](#multipliers) feature. - 3 Difficulty levels: - Easy: 6x6 grid, classic normal game. - Hard: 4x4 grid, 20% chance each for a "x2" or "/2". - Expert: 4x4 grid, 60% chance for "/2", 20% chance for "x2". - This version adds the forbidden 1 (you get it by passing 2 through a "/2" multiplier). - Easy to use and lightweight (literally no dependencies). ## Multipliers This is a new feature that adds a twist to the classic game. In addition to the standard 2s and 4s, you can now encounter: - `x2` - Doubles the value of the tile. - '/2' - Halves the value of the tile. These multipliers can appear randomly on the board anytime. - **Hard Difficulty**: Only 1 multiplier per at a time, and it goes away after the current turn. - **Expert Difficulty**: More than 1 multiplier can be on the board at the same time, and they stay until they are used. Note: Multipliers don't change their position on the board, they just modify the tile going through them. ## Requirements - Bash shell (Linux, macOS, or Windows with WSL/Git Bash) ## Installation - Clone the repository: ```sh git clone ``` - Done, that's it! No additional setup required. ## How to Play 1. Open your terminal. 2. Navigate to the project directory. 3. Run the game with: ```sh bash game2048.sh ``` 4. Choose the difficulty level: - `1` for Survivor Mode (Easy) - `2` for Doom Mode (Hard) - `3` for Endgame Mode (Expert) 5. Use the following commands to play: - `W` - Swipe Up - `A` - Swipe Down - `S` - Swipe Left - `D` - Swipe Right - `Q` - Quit the game - `H` - Show help ## Screenshots
Header Header Normal Difficulty Normal Difficulty /2 multiplier /2 Multiplier x2 multiplier x2 Multiplier Expert Difficulty Expert Difficulty The Forbidden 1 The Forbidden 1
## License This project is open source and available under the Apache 2.0 License. Feel free to modify and distribute it as you wish.