Skip to content
Trivial implementation of 2048 for the terminal using python and ncurses
Latest commit a76b266 Feb 2, 2016 @odkq Merge pull request #7 from M157q/fix_execute_twice_problem
Fix executing  twice problem and pass flake8
Failed to load latest commit information. Fix to pass flake8 Sep 16, 2015
AUTHORS.rst Added Chris Seymour on the credits May 20, 2014
CONTRIBUTING.rst Packaged May 20, 2014
HISTORY.rst Bump version May 24, 2014
LICENSE Packaged May 20, 2014 Packaged May 20, 2014
README.rst Show 256-color screenshot first :> May 21, 2014
setup.cfg Packaged May 20, 2014 Bump version May 24, 2014
tox.ini Packaged May 20, 2014



A terminal/ncurses/python version of the original game at

  • Free software: GPL license


Open your terminal and type:

$ pip install curses-2048


$ easy_install curses-2048


$ 2048

256 colors

If your terminal has support for 256 colors you will see colors mimicking the original game, something like the screenshot above. If your terminal only supports 16 colors, you will se something like this:

Recent versions of xterm and gnome terminal are known to support 256 colors, if you do not see them, probably your environment variable TERM is not set accordingly. Do

$ export TERM=xterm-256color

or, if you are using screen or tmux

$ export TERM=screen-256color

to enjoy curses-2048 in full 256 colors glory.

Use the cursor keys to move and join tiles. Get to the 2048 tile!

Something went wrong with that request. Please try again.