Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.38 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.38 KB

asciicast

2048-cli

GitHub GitHub release (latest by date)

2048-cli is the first version of the original 2048 game that is playable from the command line on any operating system

Installation

  1. Clone this git-repository
    git clone https://github.com/DevEmperor/2048-cli.git
  2. Install the dependencies (python libraries):
    pip3 install -r requirements.txt
  3. Run 2048-cli with python3 2048-cli.py

How to play

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!

License

2048-cli is under the terms of the Apapche 2.0 license, following all clarifications stated in the license file