{ "info": { "author": "Baptiste Fontaine", "author_email": "b@ptistefontaine.fr", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "========\nterm2048\n========\n\n.. image:: https://img.shields.io/travis/bfontaine/term2048.svg\n :target: https://travis-ci.org/bfontaine/term2048\n :alt: Build status\n\n.. image:: https://img.shields.io/coveralls/bfontaine/term2048/master.svg\n :target: https://coveralls.io/r/bfontaine/term2048?branch=master\n :alt: Coverage status\n\n.. image:: https://img.shields.io/pypi/v/term2048.svg\n :target: https://pypi.python.org/pypi/term2048\n :alt: Pypi package\n\n**term2048** is a terminal-based version of 2048_.\n\n.. _2048: http://gabrielecirulli.github.io/2048/\n\n.. image:: https://github.com/bfontaine/term2048/raw/master/img/term2048.png\n\nInstall\n-------\n\n.. code-block::\n\n pip install term2048\n\nTo upgrade a previous installation, use:\n\n.. code-block::\n\n pip install -U term2048\n\nTo install via `snap`_:\n\n::\n\n sudo snap install term2048\n\n.. _snap: https://www.snapcraft.io\n\nInstall from source\n~~~~~~~~~~~~~~~~~~~\n\n.. code-block::\n\n git clone https://github.com/bfontaine/term2048.git && cd term2048\n [sudo] python setup.py install\n\nPlay\n----\n\n.. code-block::\n\n term2048\n\nThen use arrow keys to move. VI keys (h,j,k,l) are also supported.\n\nUse ``-h`` to check the list of available options, and ``--rules`` for the\ngame rules. Press ```` at any time during the game to pause it. You can\nresume it later using ``term2048 --resume``.\n\nTests\n-----\n\nClone this repo, then: ::\n\n [sudo] make deps\n make check\n\nNote: while ``term2048`` should work on Windows, tests are meant to run on\nUNIX-like OSes and ``term2048.keypress``-related tests may fail on Windows.\n\nContributions\n-------------\n\n* ``--version`` flag added by @aminb\n* ``--rules`` flag added by @cardern\n* Short ``-r`` and ``-v`` flags added by @yankuangshi\n* Resume feature added by @pravj\n* Snap installation method added by @LaughingLove\n\nv0.2.0\n~~~~~~\n\n* Python 2.6 and 3.x support by @shaunduncan\n* Tests instructions fixed by @olafleur\n* Spawn probabilities fixed by @frankh\n* Colors improved by @idosch\n* hjkl keys support by @aminb\n* Windows support by @valtron\n* AZ mode by @JosephRedfern\n* The first file-related tests were added by @taeram\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bfontaine/term2048", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "term2048", "package_url": "https://pypi.org/project/term2048/", "platform": "", "project_url": "https://pypi.org/project/term2048/", "project_urls": { "Homepage": "https://github.com/bfontaine/term2048" }, "release_url": "https://pypi.org/project/term2048/0.2.7/", "requires_dist": [ "colorama (>=0.2.7)", "argparse (>=1.1)" ], "requires_python": "", "summary": "2048 in your terminal", "version": "0.2.7" }, "last_serial": 5631209, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b681781e2db9bc2675b273cf429bb38e", "sha256": "304897a0d56021d6faab14dcd7b99c98061e81b31593f245a33c22a8bd90db62" }, "downloads": -1, "filename": "term2048-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b681781e2db9bc2675b273cf429bb38e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4341, "upload_time": "2014-03-13T22:47:32", "url": "https://files.pythonhosted.org/packages/90/37/66ee2568aace2b0ea67df2a96d6c80e7ab345beacfa86d568f7d54d56872/term2048-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2147858419ebae864fde27f1b34c045e", "sha256": "8998a7eceb3e4793ed8b3324f57e9be4c27ba7b760cfe77cbe588dc5b5977dfc" }, "downloads": -1, "filename": "term2048-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2147858419ebae864fde27f1b34c045e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4379, "upload_time": "2014-03-13T22:51:44", "url": "https://files.pythonhosted.org/packages/aa/58/ca22a2ad95b2c409778108445ced0bd897893d3183fc7487ee0beb762562/term2048-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c09dbbea178c9e686c2c325f15b553dd", "sha256": "2ff91df73832f7447bc08e39454c898e2c83cab0f65d765667f4d80a3c79a6d4" }, "downloads": -1, "filename": "term2048-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c09dbbea178c9e686c2c325f15b553dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4298, "upload_time": "2014-03-13T23:22:18", "url": "https://files.pythonhosted.org/packages/dc/43/73459c4964115f0e8a96cc0aa6664ab2b866818cbc4d483da48cd4db9037/term2048-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "43c05dbc4cf4f35f9bc3fb70bd47ee9c", "sha256": "3d4103b684e51fe451d1dc2777c3c47221f723b556233005027664620854769e" }, "downloads": -1, "filename": "term2048-0.1.3.tar.gz", "has_sig": false, "md5_digest": "43c05dbc4cf4f35f9bc3fb70bd47ee9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4736, "upload_time": "2014-03-13T23:30:18", "url": "https://files.pythonhosted.org/packages/c4/0b/c383b8eda46e802643557e072a507f1fa48c80a7e8b154c55539d53e7204/term2048-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "8266111244cdb5bd0e08a240f44a29a8", "sha256": "9dd19705795ba25a4384eb49af2c57907abfb4410c23b3f5166ed7a96366e908" }, "downloads": -1, "filename": "term2048-0.1.4.tar.gz", "has_sig": false, "md5_digest": "8266111244cdb5bd0e08a240f44a29a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5471, "upload_time": "2014-03-14T11:00:33", "url": "https://files.pythonhosted.org/packages/4f/40/e871f565f6847ab81f3e51a91096a8cd76a1499f8ad836748013f3852887/term2048-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "ed42c0ce8bd8cc820a7859a655089ba9", "sha256": "3963c562d2bf43f84dc8ecbf2f5ba9fe44b59683b42487ad9f4721c3bc716c36" }, "downloads": -1, "filename": "term2048-0.1.5.tar.gz", "has_sig": false, "md5_digest": "ed42c0ce8bd8cc820a7859a655089ba9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5609, "upload_time": "2014-03-14T12:52:35", "url": "https://files.pythonhosted.org/packages/78/1f/b3abd1d58e784365f2b2684bea27efef1adcc02810e91f446b9ea03fea1d/term2048-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "0cff97a81ba93156c50c11a3a8bc662e", "sha256": "4fe6e2ed1c6444ebda517aeba629df588945041affbb11e7a5887ac5e436b5fe" }, "downloads": -1, "filename": "term2048-0.1.6.tar.gz", "has_sig": false, "md5_digest": "0cff97a81ba93156c50c11a3a8bc662e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5644, "upload_time": "2014-03-14T13:19:06", "url": "https://files.pythonhosted.org/packages/55/a4/2eb8e95db952ee87feba2cf11d0055e0054aa19e0892da82258f38a87d52/term2048-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "03399201eadbd95fe1e2c1aebdbfb373", "sha256": "c5c8d88ead558b48e63c42fa2ad1febc313e05a41b55a2745b436fb0748b5d5c" }, "downloads": -1, "filename": "term2048-0.1.7.tar.gz", "has_sig": false, "md5_digest": "03399201eadbd95fe1e2c1aebdbfb373", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6227, "upload_time": "2014-03-14T14:08:23", "url": "https://files.pythonhosted.org/packages/d4/42/7603e00a60b4886b9d466f65b0632c693d07c5445653e16070802718def6/term2048-0.1.7.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7e01b1ee0de2e66115d99232ee02b53a", "sha256": "40cc84b58e970343d3b28fdffd47b614f1a69d0e8c58b94554f1f5fa0dbf4a67" }, "downloads": -1, "filename": "term2048-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7e01b1ee0de2e66115d99232ee02b53a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7461, "upload_time": "2014-03-14T22:16:10", "url": "https://files.pythonhosted.org/packages/91/80/626f5e73ca7a4953c9628af85f95a2a29b69cedaa70948070311f4532ca2/term2048-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "70b63114b3bd490ebd7ea795ad61d006", "sha256": "47fd3d6a45587fb14946cdd8a09b755cfb4acb5cc89d0bd5b5188b22f60694e9" }, "downloads": -1, "filename": "term2048-0.2.1.tar.gz", "has_sig": false, "md5_digest": "70b63114b3bd490ebd7ea795ad61d006", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7496, "upload_time": "2014-03-14T22:24:45", "url": "https://files.pythonhosted.org/packages/34/f3/651a5f7c662bfe81320c87a99199e723b6612ba5ce96e1d45dacf0117b08/term2048-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "e17d1051a2be8f69b613c701430eadc2", "sha256": "756ffd8cd59a400cd1b0b561990d7d21e94705280793e1820fb00d137c3bae1d" }, "downloads": -1, "filename": "term2048-0.2.2.tar.gz", "has_sig": false, "md5_digest": "e17d1051a2be8f69b613c701430eadc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8802, "upload_time": "2014-03-15T16:16:54", "url": "https://files.pythonhosted.org/packages/a5/a8/918c709dec9bcf01a69cb9630d136c05fed2aa1acbc2fa9acbd08a8903a2/term2048-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "ee61e5882c4ffa32d976796e4fc12129", "sha256": "8269f6aba14bb75972bfcee90d27af572ad395f75d404feae6adc04c7e0c4dcd" }, "downloads": -1, "filename": "term2048-0.2.3.tar.gz", "has_sig": false, "md5_digest": "ee61e5882c4ffa32d976796e4fc12129", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9215, "upload_time": "2014-03-24T10:05:00", "url": "https://files.pythonhosted.org/packages/19/9f/98dae6e866f478a398873dbe128ba2062e32f9f2473cb5a05fcc75d821a4/term2048-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "72e02652b6c19bbd2b800ee9a8a65f58", "sha256": "5d21b20b329f7ad638c8144dec9ae8e2bfca98ad79c18a3c0cc6610053a6f8aa" }, "downloads": -1, "filename": "term2048-0.2.4.tar.gz", "has_sig": false, "md5_digest": "72e02652b6c19bbd2b800ee9a8a65f58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9245, "upload_time": "2014-07-07T17:45:49", "url": "https://files.pythonhosted.org/packages/94/bf/d71ce36089811c0a43200ed896c69fa3d5abf00ea8df2598f7bf519b7191/term2048-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "c6cf68803aa324635c21a50efe532b28", "sha256": "fddad8406e70caeeff7660ac4f0c4a5ee50be1fb0a1ae779a2b9f043c814ecff" }, "downloads": -1, "filename": "term2048-0.2.5.tar.gz", "has_sig": false, "md5_digest": "c6cf68803aa324635c21a50efe532b28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9905, "upload_time": "2014-10-11T17:05:49", "url": "https://files.pythonhosted.org/packages/53/50/34043c7048642a7a74db3d1bd064d1506d0b515411b0136da6811151558b/term2048-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "6608c0b7bde342888125a1c0dee6af0c", "sha256": "3808409767427bd2d4d4c8d3d3d317c9ec2d835738e092feaa8b7bd05cd3cd0d" }, "downloads": -1, "filename": "term2048-0.2.6.tar.gz", "has_sig": false, "md5_digest": "6608c0b7bde342888125a1c0dee6af0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10495, "upload_time": "2018-06-17T11:25:46", "url": "https://files.pythonhosted.org/packages/fb/4e/295dc85d57548502070dbe7623fca8c3cd8b8d290f593712821f836dd06b/term2048-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "0c46573bce1a4b1118589372c1d32a31", "sha256": "c31ad7f5d28a55ae70bdf14126ff9f6f506c2ce69d6fb8181aad40db4d694232" }, "downloads": -1, "filename": "term2048-0.2.7-py3-none-any.whl", "has_sig": false, "md5_digest": "0c46573bce1a4b1118589372c1d32a31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9800, "upload_time": "2019-08-04T18:11:45", "url": "https://files.pythonhosted.org/packages/8d/5b/24df1bd49fe2bafd3358a4a09e19f04c4430551ce16ed63255438dd40c0e/term2048-0.2.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c82e886589136fb896c4fa7627d906f", "sha256": "8163d5dddb1384d35b84627751c55c5f011618fe211726b6fc51a2992378b669" }, "downloads": -1, "filename": "term2048-0.2.7.tar.gz", "has_sig": false, "md5_digest": "6c82e886589136fb896c4fa7627d906f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10036, "upload_time": "2019-08-04T18:11:47", "url": "https://files.pythonhosted.org/packages/53/0a/911a042756afca4c826ed168665eb5c954416f1e58837430511951c373c9/term2048-0.2.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0c46573bce1a4b1118589372c1d32a31", "sha256": "c31ad7f5d28a55ae70bdf14126ff9f6f506c2ce69d6fb8181aad40db4d694232" }, "downloads": -1, "filename": "term2048-0.2.7-py3-none-any.whl", "has_sig": false, "md5_digest": "0c46573bce1a4b1118589372c1d32a31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9800, "upload_time": "2019-08-04T18:11:45", "url": "https://files.pythonhosted.org/packages/8d/5b/24df1bd49fe2bafd3358a4a09e19f04c4430551ce16ed63255438dd40c0e/term2048-0.2.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c82e886589136fb896c4fa7627d906f", "sha256": "8163d5dddb1384d35b84627751c55c5f011618fe211726b6fc51a2992378b669" }, "downloads": -1, "filename": "term2048-0.2.7.tar.gz", "has_sig": false, "md5_digest": "6c82e886589136fb896c4fa7627d906f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10036, "upload_time": "2019-08-04T18:11:47", "url": "https://files.pythonhosted.org/packages/53/0a/911a042756afca4c826ed168665eb5c954416f1e58837430511951c373c9/term2048-0.2.7.tar.gz" } ] }