{ "info": { "author": "Ralph Embree", "author_email": "ralph.embree@brominator.org", "bugtrack_url": null, "classifiers": [ "Environment :: X11 Applications :: GTK", "Intended Audience :: End Users/Desktop", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Topic :: Games/Entertainment :: Puzzle Games" ], "description": "py2048\n======\n\nPlay the popular game of 2048\n\nA PyGTK implementation of `Gabriele Cirulli's game of\n2048 `__ which is itself a\nclone of\n`1024 `__\nand based on `Saming's 2048 `__ (also a\nclone).\n\nInstallation\n------------\n\nOpen a terminal and enter the following command:\n\n::\n\n pip install py2048-game\n\nIn case you don't have the right things installed and you don't feel\nlike installing them, there is still the old way that I created before I\nlearned setuptools:\n\n::\n\n wget https://raw.githubusercontent.com/ralphembree/py2048/master/install.sh -q -O - | bash\n\nThe old way does a little bit more than the new way because I'm still\nlearning the new way. Either one will create the py2048 executable, so\nthe game can be started from the command prompt with a simple \"py2048\".\nThe old way, in addition, puts an entry in your Games menu.\n\nFeatures\n--------\n\n- Moves can be undone with the click of a button.\n- Games can be saved in user-specified files to be resumed later.\n- Grid can be resized to preference.\n- In addition to the keyboard, there are two kinds of mouse\n interaction:\n- Swipe: click and hold and then move in the direction desired\n- Click: each section of the grid (top, bottom, left, right) when\n clicked will move the tiles in a different direction. The cursor will\n be an arrow pointing in the direction the tiles would go if you\n clicked.\n- The colors in the grid can be rerandomized at any time (without\n messing up your game).\n\nScreenshot\n----------\n\n.. figure:: https://github.com/ralphembree/py2048/blob/master/screenshot.gif\n :alt: Screencapture of game\n\nHow to play\n-----------\n\nThe arrow keys determine which direction all of the tiles move. Tiles\nwith the same number that hit each other merge into one tile. Each time\ntiles are moved, another tile is added to the board. The game is over\nwhen no more tiles can be merged.\n\nShortcut keys\n-------------\n\n+------------------------+----------------------------------------+\n| Key | Action |\n+========================+========================================+\n| ``Alt-N`` | Start new game |\n+------------------------+----------------------------------------+\n| ``Ctrl-N`` | New grid size (user defined) |\n+------------------------+----------------------------------------+\n| ``Alt-U``/``Ctrl-Z`` | Undo |\n+------------------------+----------------------------------------+\n| ``Ctrl-C`` | New color scheme |\n+------------------------+----------------------------------------+\n| ``Ctrl-M`` | Toggle mouse modes (swipe or click) |\n+------------------------+----------------------------------------+\n| ``Ctrl-O`` | Load saved game |\n+------------------------+----------------------------------------+\n| ``Ctrl-Shift-S`` | Save game under a different name |\n+------------------------+----------------------------------------+\n| ``Ctrl-S`` | Save game to previously-defined file |\n+------------------------+----------------------------------------+\n| ``F11`` | Toggle fullscreen |\n+------------------------+----------------------------------------+\n| ``F1`` | Help |\n+------------------------+----------------------------------------+\n| ``Ctrl-Q`` | Quit |\n+------------------------+----------------------------------------+\n\nLicense\n-------\n\npy2048 is a Python implementation of the popular game of 2048. Copyright\n\u00a9 2014 Ralph Embree\n\nThis program is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published by the\nFree Software Foundation; either version 3 of the License, or (at your\noption) any later version.\n\nThis program is destributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\nPublic License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program. If not, see http://www.gnu.org/licenses\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ralphembree/py2048", "keywords": "py2048 2048 game gabriele cirulli", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "py2048-game", "package_url": "https://pypi.org/project/py2048-game/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/py2048-game/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ralphembree/py2048" }, "release_url": "https://pypi.org/project/py2048-game/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "PyGTK implementation of the popular 2048 game", "version": "1.0.1" }, "last_serial": 2503470, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9d1d0c66d8733b071b10f71a94ba05b9", "sha256": "d140b8107d562fa994e5daba572aeb417557140142062125bbc14addedd134a7" }, "downloads": -1, "filename": "py2048-game-1.0.tar.gz", "has_sig": false, "md5_digest": "9d1d0c66d8733b071b10f71a94ba05b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11684, "upload_time": "2016-12-06T20:26:59", "url": "https://files.pythonhosted.org/packages/51/d7/49bf96fc3d281e0dde86474f4c740c5a09daf77fc4318bc5d3f89d97b374/py2048-game-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "cfc0264b8a1b7ac6915e3a6f1066f5ea", "sha256": "c918a9c8835b8573912a19600f30620217b4d3b07f9cc588011de60c30fd2535" }, "downloads": -1, "filename": "py2048-game-1.0.1.tar.gz", "has_sig": false, "md5_digest": "cfc0264b8a1b7ac6915e3a6f1066f5ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13024, "upload_time": "2016-12-06T20:50:59", "url": "https://files.pythonhosted.org/packages/5c/b8/9156e845cb0905ff29b8cbd1289b8907297dffa036987939ac0512c142c0/py2048-game-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cfc0264b8a1b7ac6915e3a6f1066f5ea", "sha256": "c918a9c8835b8573912a19600f30620217b4d3b07f9cc588011de60c30fd2535" }, "downloads": -1, "filename": "py2048-game-1.0.1.tar.gz", "has_sig": false, "md5_digest": "cfc0264b8a1b7ac6915e3a6f1066f5ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13024, "upload_time": "2016-12-06T20:50:59", "url": "https://files.pythonhosted.org/packages/5c/b8/9156e845cb0905ff29b8cbd1289b8907297dffa036987939ac0512c142c0/py2048-game-1.0.1.tar.gz" } ] }