Skip to main content

2048 in your terminal

Project description

Build status Coverage status

term2048 is a terminal-based version of 2048.

https://github.com/bfontaine/term2048/raw/master/img/term2048.png

Install

pip install term2048

To upgrade a previous installation, use:

pip install -U term2048

Play

term2048

Then use arrow keys to move. Use -h to check the list of available options.

Tests

Clone this repo, then:

[sudo] pip2 install -r requirements.txt
make check

If you’re using Python 2.6, you need to do this as well before running tests:

[sudo] pip2 install -r py26-requirements.txt

Contributions

v0.2.0

  • Python 2.6 and 3.x support by @shaunduncan

  • Tests instructions fixed by @olafleur

  • Spawn probabilities fixed by @frankh

  • Colors improved by @idosch

  • hjkl keys support by @aminb

  • Windows support by @valtron

  • AZ mode by @JosephRedfern

  • The first file-related tests were added by @taeram

Project details


Download files

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

Source Distribution

term2048-0.2.1.tar.gz (7.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page