{ "info": { "author": "Erik Nyquist", "author_email": "eknyquist@gmail.com", "bugtrack_url": null, "classifiers": [], "description": ".. |projectname| replace:: text_game_maker\n\nText Adventure Game Maker\n-------------------------\n\n.. contents:: Contents\n\n|projectname| is a framework for building simple text-based games. Supports\nPython 2 and 3 on Linux and Windows (tested on Debian and Windows 10).\n\nFeatures\n========\n\n* Builder API pattern that implements a 2D tile-based grid system for building\n maps and creating game objects with a few lines of Python.\n\n* Flexible object model for defining game objects and NPCs. Many useful game\n objects and behaviours are pre-defined so you can start making a game straight\n away, but these classes are easy to extend if you need to implement your own\n custom game objects.\n\n* NPCs that you can actually speak to, like a chatbot. ``text_game_maker``\n NPCs allow you to define custom responses and contexts for discussions using\n regular expressions, so you can build an NPC which responds with some\n contextual awareness like a chatbot.\n\n* Arbitrary saving/loading of game states. All game objects can be serialized\n to, or loaded from, JSON data.\n\n* Flexible and extensible parser. The parser that handles game input already\n has a lot of useful commands and behaviours built-in. However, any of the\n built-in commands can be disabled if necessary, and the parser provides\n methods that allow new commands to be defined.\n\n* Configurable input/output streams. ``text_game_maker`` allows custom handlers\n to be set for handling user input, and for displaying game output. By default,\n ``text_game_maker`` will use a ``prompt-toolkit`` session that interacts with\n ``stdin`` and ``stdout`` of the process it is running in. Defining custom\n input/output handlers allows you to run your game, for example, as a slack bot\n instead (see ``scripts/text-game-slackbot-runner.py``).\n\n* ``text_game_maker`` has a music system that allows polyphonic music (not\n fancy, just simple tones that sound like an old Nokia ringtone, but with full\n polyphony) to be written as simple text files that can be loaded and played\n during the game (see `PTTTL `_).\n ``pygame`` is used for playback of the raw audio samples.\n\n* Much more... check out the `API documentation! `_\n\nGetting started\n===============\n\nInstall\n#######\n\n::\n\n pip install text_game_maker\n\nRun the example map\n###################\n\n::\n\n python -m text_game_maker.example\n\nWriting maps\n============\n\n#. Write a class that extends the text_game_maker.utils.runner.MapRunner class\n and implements the ``build_map`` (and optionally ``build_parser``) methods.\n See ``example-map/example_map.py`` and the\n `API documentation `_ for reference.\n\n#. Run ``text_game_maker.runner`` with the name of the ``.py`` file containing\n your MapRunner class, e.g.:\n\n ::\n\n python -m text_game_maker.runner mymaprunner.py\n\n In this example, ``text_game_maker.runner`` will import the\n ``mymaprunner.py`` file and run the first instance it finds of a class\n which is a subclass of text_game_maker.utils.runner.MapRunner\n\nTo run a MapRunner class as a slackbot to play your game over slack, the\nprocedure is the same, except use the ``text_game_maker.slackbot_runner``\nscript, e.g.:\n\n::\n\n python -m text_game_maker.slackbot_runner mymaprunner.py\n\nNote that when using the slackbot runner you must have already created a\nbot user in your slack workspace, and the API token for the bot user must be\navailable in an environment variable named ``SLACK_BOT_TOKEN``.\n\nAPI Documentation\n=================\n\n`text-game-maker.readthedocs.io `_\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/eriknyquist/text_game_maker", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "text-game-maker", "package_url": "https://pypi.org/project/text-game-maker/", "platform": "", "project_url": "https://pypi.org/project/text-game-maker/", "project_urls": { "Homepage": "http://github.com/eriknyquist/text_game_maker" }, "release_url": "https://pypi.org/project/text-game-maker/0.7.3/", "requires_dist": [ "future", "prompt-toolkit", "pygame", "tones" ], "requires_python": "", "summary": "Framework for making text-based adventure games (interactive finction)", "version": "0.7.3" }, "last_serial": 5867214, "releases": { "0.5.2": [ { "comment_text": "", "digests": { "md5": "13cc76df026bb3bc780c9a049c0a0ccb", "sha256": "7ade0bc113ede3e3159120e4404d853c0a3d8037ef0937fda3a3b1dd5720bc65" }, "downloads": -1, "filename": "text_game_maker-0.5.2-py2-none-any.whl", "has_sig": false, "md5_digest": "13cc76df026bb3bc780c9a049c0a0ccb", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 102991, "upload_time": "2019-04-07T04:30:01", "url": "https://files.pythonhosted.org/packages/76/7e/5320701dd912634ba0949c993a43481e99e756994ec4bc9d48bb785963c9/text_game_maker-0.5.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c9ff2c4de4a737d957b8d804d8ea794", "sha256": "b4773149575abd0c28cbf5f4162f5b0528a3f279869e1ca9b9cd98080b6b96ea" }, "downloads": -1, "filename": "text_game_maker-0.5.2.tar.gz", "has_sig": false, "md5_digest": "1c9ff2c4de4a737d957b8d804d8ea794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64176, "upload_time": "2019-04-07T04:30:03", "url": "https://files.pythonhosted.org/packages/64/9a/a2a1d8ea827f1565409a3c634bc103d61b98cdaa5ea17bd6c3d85fac93ae/text_game_maker-0.5.2.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "cf7cdff7ddeba996c0f0970779f21ec0", "sha256": "79b49168929e870a8fd1ee487647d779f31aebf0715819be79d1f8aa00b6dd4a" }, "downloads": -1, "filename": "text_game_maker-0.6.0-py2-none-any.whl", "has_sig": false, "md5_digest": "cf7cdff7ddeba996c0f0970779f21ec0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 103219, "upload_time": "2019-04-15T01:29:56", "url": "https://files.pythonhosted.org/packages/93/d7/cf49a7b7187ba847c5ea67a4d466dc7eee116b6a306f6e22fc7f8e1e4556/text_game_maker-0.6.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cdcb920aa46dbe5de7bd04eeef9fed13", "sha256": "5952d94e0a8321ba16f2a829aec46c54f82d4f0de7b516e937c09d811cc1600b" }, "downloads": -1, "filename": "text_game_maker-0.6.0-py3-none-any.whl", "has_sig": false, "md5_digest": "cdcb920aa46dbe5de7bd04eeef9fed13", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 103219, "upload_time": "2019-04-15T01:29:58", "url": "https://files.pythonhosted.org/packages/9d/91/5396f95be46e818c74688005f7f3cea8eeb6c6e7fe1516db6ffc041bf36d/text_game_maker-0.6.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "668ba47a7d10dceb74ca423688cf78f7", "sha256": "be356b5c79ed89d904f2533dd9724e839d1d35bfc16a4a2ae42bf87f1e0e9597" }, "downloads": -1, "filename": "text_game_maker-0.6.0.tar.gz", "has_sig": false, "md5_digest": "668ba47a7d10dceb74ca423688cf78f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64356, "upload_time": "2019-04-15T01:30:00", "url": "https://files.pythonhosted.org/packages/02/bf/4d535c7a252f508e3bb1ef8c5e98eee8cc5393368a55a7d5398a2f18037c/text_game_maker-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "d2d0a74045387540463bdd8bb00e8bc6", "sha256": "b5ae0bbc6191edfeba7051c69f08b9bc5599da04f107186e357af5dcce6176e7" }, "downloads": -1, "filename": "text_game_maker-0.6.1-py2-none-any.whl", "has_sig": false, "md5_digest": "d2d0a74045387540463bdd8bb00e8bc6", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 108040, "upload_time": "2019-06-22T20:18:22", "url": "https://files.pythonhosted.org/packages/6e/b1/9f75a231b7821dad4173b213dae79b201808477392b5c89042264a5feb7f/text_game_maker-0.6.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bf99bc47ac4e716f18e3743af75dd68", "sha256": "fcbda21a52217bb30dc2ead3bb7d4fa49c42e3bec525c4195d661c7420051641" }, "downloads": -1, "filename": "text_game_maker-0.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6bf99bc47ac4e716f18e3743af75dd68", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 108039, "upload_time": "2019-06-22T20:18:24", "url": "https://files.pythonhosted.org/packages/64/06/6c7419dfa29efa98e6a362362faf0f4f11f910699f2fe9d2e3c98e2aa040/text_game_maker-0.6.1-py3-none-any.whl" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "a7295d064c44715633dea14d652d5991", "sha256": "0a901f00e8deab9960ccdae3fe2fb6f1e427b6c0bcbfd23dcbb39fb935e481af" }, "downloads": -1, "filename": "text_game_maker-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a7295d064c44715633dea14d652d5991", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 120510, "upload_time": "2019-08-24T03:03:23", "url": "https://files.pythonhosted.org/packages/f5/74/401e7e3d6202cd9966532f3f0707d7a3a1cffa2d505fb2a3814c50784eef/text_game_maker-0.7.0-py3-none-any.whl" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "ff816ba778e0c5c7de8872af5a989c62", "sha256": "949da41b5dcc2ee13bf4fb5c48ae32c8cbf3adcd7458bc9e602faa1a4c377fa3" }, "downloads": -1, "filename": "text_game_maker-0.7.1-py2-none-any.whl", "has_sig": false, "md5_digest": "ff816ba778e0c5c7de8872af5a989c62", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 120534, "upload_time": "2019-09-07T00:19:02", "url": "https://files.pythonhosted.org/packages/d4/3d/4a5cef8a7743f450088818a95778eaaac3ec0e93bb9eb514ad849215b182/text_game_maker-0.7.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6559736c24a73b072a9459602f77a379", "sha256": "fd3ee2331c4faa44713801eb5d764f89b1ff05dcc15a596fc51b4e08c2eed400" }, "downloads": -1, "filename": "text_game_maker-0.7.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6559736c24a73b072a9459602f77a379", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 120533, "upload_time": "2019-09-07T00:19:04", "url": "https://files.pythonhosted.org/packages/0b/bf/7ded3effc6600352b7c8dc89d057b64d22ead126ad393357f5415957cbe5/text_game_maker-0.7.1-py3-none-any.whl" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "be170580f054d3dfae0cf96348b160c8", "sha256": "71c8246e68f7e0954c06a2d03bed406e6b640ba382dc53e191c285b4cade9a3e" }, "downloads": -1, "filename": "text_game_maker-0.7.2-py3-none-any.whl", "has_sig": false, "md5_digest": "be170580f054d3dfae0cf96348b160c8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 121247, "upload_time": "2019-09-15T03:13:36", "url": "https://files.pythonhosted.org/packages/6c/53/a067fbdec932b247a5b92bff7edcfa5aa8005039ab299b2b147f589e77fc/text_game_maker-0.7.2-py3-none-any.whl" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "af822dc3e378df87f7bab2aa3a6da753", "sha256": "6ce038cd72e52ff6837cc3dd05c1b565e18d79e9e995122d47c8365a7bd42648" }, "downloads": -1, "filename": "text_game_maker-0.7.3-py2-none-any.whl", "has_sig": false, "md5_digest": "af822dc3e378df87f7bab2aa3a6da753", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 122357, "upload_time": "2019-09-21T21:14:30", "url": "https://files.pythonhosted.org/packages/33/09/cdb832850ea5292cf7a32671b29f62bf0c5b54b1b9b3066c70286d67b101/text_game_maker-0.7.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b92f046f209c658db00d0f39ec2363af", "sha256": "da580fd04c5598ff89d346d17b81a3fd4fd958fdba7a546b155a9e537477f80a" }, "downloads": -1, "filename": "text_game_maker-0.7.3-py3-none-any.whl", "has_sig": false, "md5_digest": "b92f046f209c658db00d0f39ec2363af", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 122358, "upload_time": "2019-09-21T21:14:32", "url": "https://files.pythonhosted.org/packages/ec/21/69b963e2ddb2a8ef584a7dcdd57d4e91214da3a4b691fac290a8451f764b/text_game_maker-0.7.3-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af822dc3e378df87f7bab2aa3a6da753", "sha256": "6ce038cd72e52ff6837cc3dd05c1b565e18d79e9e995122d47c8365a7bd42648" }, "downloads": -1, "filename": "text_game_maker-0.7.3-py2-none-any.whl", "has_sig": false, "md5_digest": "af822dc3e378df87f7bab2aa3a6da753", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 122357, "upload_time": "2019-09-21T21:14:30", "url": "https://files.pythonhosted.org/packages/33/09/cdb832850ea5292cf7a32671b29f62bf0c5b54b1b9b3066c70286d67b101/text_game_maker-0.7.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b92f046f209c658db00d0f39ec2363af", "sha256": "da580fd04c5598ff89d346d17b81a3fd4fd958fdba7a546b155a9e537477f80a" }, "downloads": -1, "filename": "text_game_maker-0.7.3-py3-none-any.whl", "has_sig": false, "md5_digest": "b92f046f209c658db00d0f39ec2363af", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 122358, "upload_time": "2019-09-21T21:14:32", "url": "https://files.pythonhosted.org/packages/ec/21/69b963e2ddb2a8ef584a7dcdd57d4e91214da3a4b691fac290a8451f764b/text_game_maker-0.7.3-py3-none-any.whl" } ] }