{ "info": { "author": "s4w3d0ff", "author_email": "info@s4w3d0ff.host", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "# python-slots [![Build Status](https://travis-ci.org/s4w3d0ff/python-slots.svg?branch=master)](https://travis-ci.org/s4w3d0ff/python-slots)\nSimple, expandable, customizable slot machine\n\n`pip install slotmachine`\n\n```python\nimport slotmachine\nslotM = slotmachine.SlotMachine()\nprint(slotM())\n# [['!!!', 'BAR', '(M)']]\n\nslotM = slotmachine.SlotMachine(size=(5,1))\nprint(slotM())\n# [['(H)', '(N)', '!!!', '!!!', '(H)']]\n\nslotM = slotmachine.SlotMachine(jack='BTC', bonus='LTC', size=(5,3))\nprint(slotM())\n# [\n# ['(Z)', '(O)', '(X)', '(M)', '(Z)'],\n# ['(O)', '(Z)', '(H)', 'LTC', 'BTC'],\n# ['(H)', 'LTC', '(O)', '(M)', '(Z)']\n# ]\n\nprint(slotM.reel)\n# ['BTC', '(Z)', '(O)', '(H)', '(X)', '(W)', '(N)', '(M)', 'LTC', '(M)', '(N)', '(W)', '(X)', '(H)', '(O)', '(Z)', 'LTC', '(Z)', '(O)', '(H)', '(X)', '(W)', '(N)', '(M)', 'LTC', '(M)', '(N)', '(W)', '(X)', '(H)', '(O)', '(Z)', 'LTC', '(Z)', '(O)', '(H)', '(X)', '(W)', '(N)', '(M)', 'LTC', '(M)', '(N)', '(W)', '(X)', '(H)', '(O)', '(Z)']\n\nslotM = slotmachine.SlotMachine(size=(5,1))\nr = slotM()\nprint(r)\n# [['(X)', '(W)', '(M)', '!!!', '(N)']]\nprint(slotM.checkLine(r[0]))\n# False\nr = slotM()\nprint(r)\n# [['BAR', 'BAR', 'BAR', 'BAR', 'BAR']]\nprint(slotM.checkLine(r[0]))\n# 'jackpot'\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/s4w3d0ff/python-slots", "keywords": "slots,slotmachine,slot-machine", "license": "GPL v3", "maintainer": "", "maintainer_email": "", "name": "slotmachine", "package_url": "https://pypi.org/project/slotmachine/", "platform": "", "project_url": "https://pypi.org/project/slotmachine/", "project_urls": { "Homepage": "https://github.com/s4w3d0ff/python-slots" }, "release_url": "https://pypi.org/project/slotmachine/0.0.3.8/", "requires_dist": null, "requires_python": "", "summary": "Simple, expandable, customizable slot machine", "version": "0.0.3.8" }, "last_serial": 5330458, "releases": { "0.0.3.3": [ { "comment_text": "", "digests": { "md5": "da1eac64c99e6a2cfd1b7889bf71325d", "sha256": "b3c4189ac4c58fca8ba287f645588eefdcb4af9ca4a2334ce8854630141193b8" }, "downloads": -1, "filename": "slotmachine-0.0.3.3.tar.gz", "has_sig": false, "md5_digest": "da1eac64c99e6a2cfd1b7889bf71325d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2976, "upload_time": "2019-05-29T03:35:31", "url": "https://files.pythonhosted.org/packages/a0/64/d7e7c42f7d61cf7f23b6bde5f1668e80b0fd2d3b4c7e111dde916711d460/slotmachine-0.0.3.3.tar.gz" } ], "0.0.3.8": [ { "comment_text": "", "digests": { "md5": "4c8d1d4408c73b58f94b2e0448f1e67d", "sha256": "c08002cd6e5f844935573552f680b4504d502fc7d9328ad6e298a2205595cc91" }, "downloads": -1, "filename": "slotmachine-0.0.3.8.tar.gz", "has_sig": false, "md5_digest": "4c8d1d4408c73b58f94b2e0448f1e67d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3241, "upload_time": "2019-05-29T05:00:51", "url": "https://files.pythonhosted.org/packages/45/13/3559836cd2182592a1789622b03bc4d76aa1137ea6d293fa0902a1e5b950/slotmachine-0.0.3.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c8d1d4408c73b58f94b2e0448f1e67d", "sha256": "c08002cd6e5f844935573552f680b4504d502fc7d9328ad6e298a2205595cc91" }, "downloads": -1, "filename": "slotmachine-0.0.3.8.tar.gz", "has_sig": false, "md5_digest": "4c8d1d4408c73b58f94b2e0448f1e67d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3241, "upload_time": "2019-05-29T05:00:51", "url": "https://files.pythonhosted.org/packages/45/13/3559836cd2182592a1789622b03bc4d76aa1137ea6d293fa0902a1e5b950/slotmachine-0.0.3.8.tar.gz" } ] }