All Projects → bfontaine → Term2048

bfontaine / Term2048

Licence: mit
🎉 2048 in your terminal

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Term2048

Braincup
Train your math skills, memory and focus.
Stars: ✭ 137 (-82.37%)
Mutual labels:  cli, game
Void Space
Well-Typed Typing Tutor where you Type Types... in space... yup, you heard me
Stars: ✭ 104 (-86.62%)
Mutual labels:  cli, game
Life
Conway's Game of Life written in Swift 👾
Stars: ✭ 21 (-97.3%)
Mutual labels:  cli, game
2048.c
Console version of the game "2048" for GNU/Linux
Stars: ✭ 453 (-41.7%)
Mutual labels:  cli, game
Glow
Render markdown on the CLI, with pizzazz! 💅🏻
Stars: ✭ 7,596 (+877.61%)
Mutual labels:  cli
Captain
Captain - Convert your Git workflow to Docker 🐳 containers
Stars: ✭ 739 (-4.89%)
Mutual labels:  cli
Ngxtop
Real-time metrics for nginx server
Stars: ✭ 6,246 (+703.86%)
Mutual labels:  cli
Opensage
OpenSAGE is a free, open source re-implementation of SAGE, the 3D real time strategy (RTS) engine used in Command & Conquer: Generals and other RTS titles from EA Pacific. Written in C#. Not affiliated with EA.
Stars: ✭ 735 (-5.41%)
Mutual labels:  game
Coffee
An opinionated 2D game engine for Rust
Stars: ✭ 771 (-0.77%)
Mutual labels:  game
Js Liftoff
Launch your command line tool with ease.
Stars: ✭ 761 (-2.06%)
Mutual labels:  cli
Argh
Argh! A minimalist argument handler.
Stars: ✭ 752 (-3.22%)
Mutual labels:  cli
Dip
CLI gives the "native" interaction with applications configured with Docker Compose.
Stars: ✭ 737 (-5.15%)
Mutual labels:  cli
Multi
Create a custom, lightweight macOS app from a group of websites
Stars: ✭ 755 (-2.83%)
Mutual labels:  cli
Friends
Spend time with the people you care about. Introvert-tested. Extrovert-approved.
Stars: ✭ 737 (-5.15%)
Mutual labels:  cli
Dbxcli
A command line client for Dropbox built using the Go SDK
Stars: ✭ 764 (-1.67%)
Mutual labels:  cli
Deeplearningflappybird
Flappy Bird hack using Deep Reinforcement Learning (Deep Q-learning).
Stars: ✭ 6,211 (+699.36%)
Mutual labels:  game
Ipfs Deploy
Zero-Config CLI to Deploy Static Websites to IPFS
Stars: ✭ 740 (-4.76%)
Mutual labels:  cli
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (-2.32%)
Mutual labels:  cli
Sade
Smooth (CLI) Operator 🎶
Stars: ✭ 746 (-3.99%)
Mutual labels:  cli
Bench
CLI to manage Multi-tenant deployments for Frappe apps
Stars: ✭ 745 (-4.12%)
Mutual labels:  cli

======== term2048

.. image:: https://img.shields.io/travis/bfontaine/term2048.svg :target: https://travis-ci.org/bfontaine/term2048 :alt: Build status

.. image:: https://img.shields.io/coveralls/bfontaine/term2048/master.svg :target: https://coveralls.io/r/bfontaine/term2048?branch=master :alt: Coverage status

.. image:: https://img.shields.io/pypi/v/term2048.svg :target: https://pypi.python.org/pypi/term2048 :alt: Pypi package

term2048 is a terminal-based version of 2048_.

.. _2048: http://gabrielecirulli.github.io/2048/

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

Install

.. code-block::

pip install term2048

To upgrade a previous installation, use:

.. code-block::

pip install -U term2048

To install via snap_:

::

sudo snap install term2048

.. _snap: https://www.snapcraft.io

Install from source


.. code-block::

    git clone https://github.com/bfontaine/term2048.git && cd term2048
    [sudo] python setup.py install

Play
----

.. code-block::

    term2048

Then use arrow keys to move. VI keys (h,j,k,l) are also supported.

Use ``-h`` to check the list of available options, and ``--rules`` for the
game rules. Press ``<space>`` at any time during the game to pause it. You can
resume it later using ``term2048 --resume``.

Tests
-----

Clone this repo, then: ::

    [sudo] make deps
    make check

Note: while ``term2048`` should work on Windows, tests are meant to run on
UNIX-like OSes and ``term2048.keypress``-related tests may fail on Windows.

Contributions
-------------

* ``--version`` flag added by @aminb
* ``--rules`` flag added by @cardern
* Short ``-r`` and ``-v`` flags added by @yankuangshi
* Resume feature added by @pravj
* Snap installation method added by @LaughingLove

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].