{ "info": { "author": "Philip Shemella", "author_email": "philshem@pm.me", "bugtrack_url": null, "classifiers": [ "Environment :: Console :: Curses", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Games/Entertainment :: Puzzle Games" ], "description": "# open-mastermind\nTerminal-based python of classic board game [Mastermind\u00ae](https://en.wikipedia.org/wiki/Mastermind_(board_game))\n\n\n![Mastermind board game](https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Mastermind.jpg/137px-Mastermind.jpg)\n\n## to get the game\n\nInstall with `pip` from the command line:\n\n pip install open-mastermind\n\nAnd run with this command:\n\n mastermind\n\nAlthough written in Python3.7, it's compatible back to Python2.7.\n\n## to get the code\n\nClone the repository, then install the requirements (currently only the non-standard python library [`colorama`](https://pypi.org/project/colorama/), which prints a colorful terminal.)\n\n git clone https://github.com/philshem/open-mastermind.git\n cd open-mastermind\n pip install -r requirements.txt\n\nAnd to play from your downloaded code:\n\n python mastermind.py\n\n## example game play\n\nEach puzzle contains 4 boxes. Each turn you choose from 6 colors.\n\nCan you guess the puzzle before your turns run out?\n\nColor choices: r g y b m w\n\nExample turn: rybg\n\nResponse:\n\n\u25cd : correct color in correct position\n\n\u25cb : correct color in incorrect position\n\n_ : incorrect color\n\nThe order of the response tiles is sorted and does not necessarily match the position of the colored tiles.\n\nType !h during gameplay to read these instructions.\n\nType !q during gameplay to quit and show the solution.\n\n\n## change the game parameters\n\nEdit the file `params.py` to:\n\n + more pieces to guess\n\n + more/fewer turns per game\n\n + new colors\n\n + different emoji playing pieces\n\n---\n\n## screenshot of gameplay\n\n![screenshot of gameplay](https://gist.githubusercontent.com/philshem/71507d4e8ecfabad252fbdf4d9f8bdd2/raw/e00c621f403520d3268f2a9ece176fb2f05f2185/mastermind.png)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/philshem/open-mastermind", "keywords": "puz mastermind code-breaking puzzle game", "license": "", "maintainer": "", "maintainer_email": "", "name": "open-mastermind", "package_url": "https://pypi.org/project/open-mastermind/", "platform": "", "project_url": "https://pypi.org/project/open-mastermind/", "project_urls": { "Homepage": "https://github.com/philshem/open-mastermind" }, "release_url": "https://pypi.org/project/open-mastermind/0.1.3/", "requires_dist": [ "colorama" ], "requires_python": ">=2.7", "summary": "A terminal-based code-breaking game Mastermind", "version": "0.1.3" }, "last_serial": 5285264, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "315c5c38454979dade4690725f83c9aa", "sha256": "e09cb4dd446898c23295741481b3b7d990579b4d49bf69565d16905f34e5e697" }, "downloads": -1, "filename": "open_mastermind-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "315c5c38454979dade4690725f83c9aa", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.7", "size": 5231, "upload_time": "2019-05-17T12:40:43", "url": "https://files.pythonhosted.org/packages/de/26/17463a4add11b29d5aea1a10ba7cba47a01d811b321297bc3e9adcdc3f1e/open_mastermind-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7df2592635f146efb03c64cf49dbc49b", "sha256": "486420d6826da5c6db681c81987c89f420c78c1bf013c28aeb1a1479283dda49" }, "downloads": -1, "filename": "open_mastermind-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7df2592635f146efb03c64cf49dbc49b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 6054, "upload_time": "2019-05-17T12:40:44", "url": "https://files.pythonhosted.org/packages/97/f7/cff5716554063ac09e434c2d6b2ddce006910578ff8d7e96d07037558646/open_mastermind-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4825212383584876c0083644f6b05e9d", "sha256": "6d2579df7c6a07f8018108e2af80cb90d787cc6a407c38e52accd59c571e98e1" }, "downloads": -1, "filename": "open_mastermind-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4825212383584876c0083644f6b05e9d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 4343, "upload_time": "2019-05-17T12:40:46", "url": "https://files.pythonhosted.org/packages/e6/ee/0c758da7fa1c9727f9736e022eed8450d571bc72dd61cd3cc5f7276a9b81/open_mastermind-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3e5bf805a15f66240f6b6372c9269464", "sha256": "8d413d3ca44ea2c3597abe6448a498eea99e504e6e0c651bf4fc6b44a96a9dac" }, "downloads": -1, "filename": "open_mastermind-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "3e5bf805a15f66240f6b6372c9269464", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.7", "size": 5340, "upload_time": "2019-05-18T08:48:42", "url": "https://files.pythonhosted.org/packages/be/e2/e5912e5ea5f3a107b6da791fe741d2de6fe949ce36012b56199082fe2eba/open_mastermind-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da0ec4e0509333d8f802fd3f753982e4", "sha256": "320817d35ec5452805bc80661b36c3dfa4c7b980d862588fb6efc2deec65bb87" }, "downloads": -1, "filename": "open_mastermind-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "da0ec4e0509333d8f802fd3f753982e4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 6164, "upload_time": "2019-05-18T08:48:44", "url": "https://files.pythonhosted.org/packages/13/07/556acb3caaa2cb1f400c8d32569455b47090004f661762136787e1c262ab/open_mastermind-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef4c82708bb61c9e78e01ef681c52205", "sha256": "aa8df03b006632be5ea4145c66e700f0b56fb2c0ca255132b7b1abee587a4d11" }, "downloads": -1, "filename": "open_mastermind-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ef4c82708bb61c9e78e01ef681c52205", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 4530, "upload_time": "2019-05-18T08:48:45", "url": "https://files.pythonhosted.org/packages/a8/b4/789f8a709a2caa1d0b786ddefa6452f54a0933d071db47bdf90ba4726ea6/open_mastermind-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "77ce7c2e5e1d0f1718248108611db046", "sha256": "542aac9c7284f873ee2648e387d80b249c229f0f1e32acb514c82aff5c69e535" }, "downloads": -1, "filename": "open_mastermind-0.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "77ce7c2e5e1d0f1718248108611db046", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.7", "size": 5343, "upload_time": "2019-05-18T08:51:33", "url": "https://files.pythonhosted.org/packages/bd/a0/87c689855dc76f4b6d6b5f93cf240803bca8f6f9ac7e37f541220c0d506d/open_mastermind-0.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8a970a9935b969e03aba0b2e6fd40a8", "sha256": "13639d9a1769b7dcfb97ce895bf710ffb074b29c59b99e6f4e8d877dd8a7862d" }, "downloads": -1, "filename": "open_mastermind-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e8a970a9935b969e03aba0b2e6fd40a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 6167, "upload_time": "2019-05-18T08:51:34", "url": "https://files.pythonhosted.org/packages/34/69/90185f248c1896bb13443da034994ec12b3448ca728a6b53ef7ed77f5ce9/open_mastermind-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a9ccbc669acf134116d71b2175bac32", "sha256": "4f3ed2fd8249ad0ea8f3fed01b5735203ec76f6f840e8a41f8fe5143d72aec0d" }, "downloads": -1, "filename": "open_mastermind-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5a9ccbc669acf134116d71b2175bac32", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 4536, "upload_time": "2019-05-18T08:51:35", "url": "https://files.pythonhosted.org/packages/74/ad/32446f863606468058632db32a3812db2ed0363d81bc8da5f659d79024dc/open_mastermind-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "77ce7c2e5e1d0f1718248108611db046", "sha256": "542aac9c7284f873ee2648e387d80b249c229f0f1e32acb514c82aff5c69e535" }, "downloads": -1, "filename": "open_mastermind-0.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "77ce7c2e5e1d0f1718248108611db046", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.7", "size": 5343, "upload_time": "2019-05-18T08:51:33", "url": "https://files.pythonhosted.org/packages/bd/a0/87c689855dc76f4b6d6b5f93cf240803bca8f6f9ac7e37f541220c0d506d/open_mastermind-0.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8a970a9935b969e03aba0b2e6fd40a8", "sha256": "13639d9a1769b7dcfb97ce895bf710ffb074b29c59b99e6f4e8d877dd8a7862d" }, "downloads": -1, "filename": "open_mastermind-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e8a970a9935b969e03aba0b2e6fd40a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 6167, "upload_time": "2019-05-18T08:51:34", "url": "https://files.pythonhosted.org/packages/34/69/90185f248c1896bb13443da034994ec12b3448ca728a6b53ef7ed77f5ce9/open_mastermind-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a9ccbc669acf134116d71b2175bac32", "sha256": "4f3ed2fd8249ad0ea8f3fed01b5735203ec76f6f840e8a41f8fe5143d72aec0d" }, "downloads": -1, "filename": "open_mastermind-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5a9ccbc669acf134116d71b2175bac32", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 4536, "upload_time": "2019-05-18T08:51:35", "url": "https://files.pythonhosted.org/packages/74/ad/32446f863606468058632db32a3812db2ed0363d81bc8da5f659d79024dc/open_mastermind-0.1.3.tar.gz" } ] }