{ "info": { "author": "Rahul Bawa", "author_email": "hi.rahulbawa@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Rock Paper Scissors Environment\n\nIt is just a simple version of a rock paper scissor game. However, to make the game deterministic\nit takes in the move of the player and learns to maximize its wins.\n\n# Running the jupyter notebook\nFor obvious reasons, you need to have jupyter, numpy installed in your system before running it.\nOnce done, you can start the notebook and run the example.\n\n# What is happening in the output\nYou would see the following things in the output\n\n- a matrix -> It represents the bot experience across multiple games against the player.\n\n- exploiting/exploration -> The bot is fed with some initial experience (see np.uniform at the top) but it begins\nwith exploration when it thinks it does not have any experience and then starts exploiting the already gained experience.\n\n- stats -> They just tell you of the moves of the player\n\n# FAQ's\n\n- Is the bot playing against pre-defined set of moves of the player ?\n\nNo. The player's move has been randomly generated and are then used by the bot to gain experience and win.\n\n- This isn't how the game is played. Right ?\n\nGood find. In this version of the game I take in the user move and then train the bot to optimize itself. In my\ncase the bot always wins after the training is complete but in the real game the bot will sometime DRAW as well\nsince the moves of the player is random.\n\n- How do I run your sample ?\n\nInstall the dependencies and run the notebook placed in the repo.\n\n- How to install this package ?\n\n`pip3 install rock-paper-scissors`\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/raul1991/rock-paper-scissors-RL", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rock-paper-scissors", "package_url": "https://pypi.org/project/rock-paper-scissors/", "platform": "", "project_url": "https://pypi.org/project/rock-paper-scissors/", "project_urls": { "Homepage": "https://github.com/raul1991/rock-paper-scissors-RL" }, "release_url": "https://pypi.org/project/rock-paper-scissors/0.0.2/", "requires_dist": [ "gym", "numpy" ], "requires_python": "", "summary": "A RL environment for rock paper scissors(deterministic) based on openai", "version": "0.0.2" }, "last_serial": 5617353, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "dd66677df82db6c29dfc28701e9f503c", "sha256": "b669afd0068220054c08679d953bb228f55764ae23b4f8f001dad036340c3a10" }, "downloads": -1, "filename": "rock_paper_scissors-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "dd66677df82db6c29dfc28701e9f503c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3219, "upload_time": "2019-07-31T06:48:09", "url": "https://files.pythonhosted.org/packages/bf/48/afe0b426cf3ac9c4439320b693391edd2f5b0264457152f47e29d7c9d136/rock_paper_scissors-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9941e460adf80c649611a01c5e2cc45e", "sha256": "58caa4abc76b5fdb727a0850eb1ba969db0aa79ea532c87ac3a79065e8f419c8" }, "downloads": -1, "filename": "rock_paper_scissors-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9941e460adf80c649611a01c5e2cc45e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1594, "upload_time": "2019-07-31T06:48:11", "url": "https://files.pythonhosted.org/packages/b9/50/3d8f21aa6243537722012b9e99d369ed3bb207fedcd54009cecbd3186d5a/rock_paper_scissors-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "69b42995adc80585a2c2561c25e05ca9", "sha256": "ef3d15f49c716e6a32a3be5fabd777bc0c51d60b6b631b1d516982f2834077b4" }, "downloads": -1, "filename": "rock_paper_scissors-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "69b42995adc80585a2c2561c25e05ca9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4199, "upload_time": "2019-08-01T07:56:20", "url": "https://files.pythonhosted.org/packages/2e/7e/044d7abe234666dd1150379da90dccfffdf5033351ada8c9c59d4e21af78/rock_paper_scissors-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "50a3c2fcdb78726e9cb1462a107c7c1a", "sha256": "33beb1e42f95badfdbe97cee8ef9324e6295335f4cbd18f1af9a8fccff809b84" }, "downloads": -1, "filename": "rock_paper_scissors-0.0.2.tar.gz", "has_sig": false, "md5_digest": "50a3c2fcdb78726e9cb1462a107c7c1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2701, "upload_time": "2019-08-01T07:56:21", "url": "https://files.pythonhosted.org/packages/54/82/4d9bf5a111c8c70fae5c695a18e7bd022a126cfbca5bb0ba6f7b7e64a633/rock_paper_scissors-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "69b42995adc80585a2c2561c25e05ca9", "sha256": "ef3d15f49c716e6a32a3be5fabd777bc0c51d60b6b631b1d516982f2834077b4" }, "downloads": -1, "filename": "rock_paper_scissors-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "69b42995adc80585a2c2561c25e05ca9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4199, "upload_time": "2019-08-01T07:56:20", "url": "https://files.pythonhosted.org/packages/2e/7e/044d7abe234666dd1150379da90dccfffdf5033351ada8c9c59d4e21af78/rock_paper_scissors-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "50a3c2fcdb78726e9cb1462a107c7c1a", "sha256": "33beb1e42f95badfdbe97cee8ef9324e6295335f4cbd18f1af9a8fccff809b84" }, "downloads": -1, "filename": "rock_paper_scissors-0.0.2.tar.gz", "has_sig": false, "md5_digest": "50a3c2fcdb78726e9cb1462a107c7c1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2701, "upload_time": "2019-08-01T07:56:21", "url": "https://files.pythonhosted.org/packages/54/82/4d9bf5a111c8c70fae5c695a18e7bd022a126cfbca5bb0ba6f7b7e64a633/rock_paper_scissors-0.0.2.tar.gz" } ] }