Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A 2048 clone in python with Terminal UI

Project Description

A 2048 clone in python with Terminal UI


Using the pip package manager:

pip install macht


python ./ install



Or without installing (in the project directory):

python -m macht

Use either the arrow keys, the wasd keys, or the hjkl keys to move the tiles.


Specify the board size:

macht 5x5

Play on multiple grids simultaneously:

macht 3x3 3x3 3x3

Play with a different base number:

macht --base 3

Continue where the last game stopped (takes an optional file to resume from/save to):

macht -r
macht 5x5 --resume '~/.local/share/macht/5x5.json'

To display a help message use the -h/--help option.


  • blessed – Used as a general abstraction on terminal input and output.
  • enum package – Enumerations for python. Included with python3.4, older python versions need to use the enum34 package.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(7.8 kB) Copy SHA256 Hash SHA256
Source Apr 20, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting