2048-cli is the first version of the original 2048 game that is playable from the command line on any operating system
- Clone this git-repository
git clone https://github.com/DevEmperor/2048-cli.git
- Install the dependencies (python libraries):
pip3 install -r requirements.txt
- Run 2048-cli with
python3 2048-cli.py
Use your arrow keys to move the tiles. Tiles with the same number merge into one when they touch. Add them up to reach the highest number! You can always undo your last move by pressing "u" or abort by pressing the "esc".
IMPORTANT: Since 2048-cli uses the Pynput-library, it currently also reads keys that are sent to other applications. Due to this bug, you should always stay in your terminal whil playing, in order to prevent sending keystrokes by accident!
2048-cli is under the terms of the Apapche 2.0 license, following all clarifications stated in the license file