take_it_easy
================
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
The game has two modes:
“play”: In the play mode, the entire game will be simulated including
drawing tiles randomly. This is usefull to play with the computer or to
train an Reinforcement Learning algorithm
“input”: In input mode, the user specifies what tile has been drawn,
e.g., when playing a real-life game
## Install
``` sh
pip install take_it_easy
```
## How to use
To play the game with random actions:
``` python
from take_it_easy.tiles import Tiles
from take_it_easy.board import Board
from take_it_easy.play import play_random_game
```
``` python
board = Board()
tiles = Tiles()
play_random_game(board, tiles)
```
Score impact: 0, potential score impact: 19
Score impact: 0, potential score impact: 15
Score impact: 0, potential score impact: 10
Score impact: 0, potential score impact: -1
Score impact: 0, potential score impact: 11
Score impact: 0, potential score impact: 4
Score impact: 0, potential score impact: 13
Score impact: 0, potential score impact: -12
Score impact: 0, potential score impact: 7
Score impact: 0, potential score impact: 1
Score impact: 0, potential score impact: 6
Score impact: 0, potential score impact: -2
Score impact: 0, potential score impact: -14
Score impact: 0, potential score impact: -6
Score impact: 0, potential score impact: -15
Score impact: 0, potential score impact: -12
Score impact: 0, potential score impact: -24
Score impact: 0, potential score impact: 0
Score impact: 0, potential score impact: 0
finished game with score: 0
Raw data
{
"_id": null,
"home_page": "https://github.com/majoma7/take_it_easy",
"name": "take-it-easy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "nbdev jupyter notebook python",
"author": "Magnus Maichle",
"author_email": "magnus.maichle@uni-wuerzburg.de",
"download_url": "https://files.pythonhosted.org/packages/bb/69/5afb78a35b0a9aa06083ee474483d93b87ad18f1af54233f36f1f313e314/take_it_easy-0.0.2.tar.gz",
"platform": null,
"description": "take_it_easy\n================\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\nThe game has two modes:\n\n\u201cplay\u201d: In the play mode, the entire game will be simulated including\ndrawing tiles randomly. This is usefull to play with the computer or to\ntrain an Reinforcement Learning algorithm\n\n\u201cinput\u201d: In input mode, the user specifies what tile has been drawn,\ne.g., when playing a real-life game\n\n## Install\n\n``` sh\npip install take_it_easy\n```\n\n## How to use\n\nTo play the game with random actions:\n\n``` python\nfrom take_it_easy.tiles import Tiles\nfrom take_it_easy.board import Board\nfrom take_it_easy.play import play_random_game\n```\n\n``` python\nboard = Board()\ntiles = Tiles()\nplay_random_game(board, tiles)\n```\n\n Score impact: 0, potential score impact: 19\n Score impact: 0, potential score impact: 15\n Score impact: 0, potential score impact: 10\n Score impact: 0, potential score impact: -1\n Score impact: 0, potential score impact: 11\n Score impact: 0, potential score impact: 4\n Score impact: 0, potential score impact: 13\n Score impact: 0, potential score impact: -12\n Score impact: 0, potential score impact: 7\n Score impact: 0, potential score impact: 1\n Score impact: 0, potential score impact: 6\n Score impact: 0, potential score impact: -2\n Score impact: 0, potential score impact: -14\n Score impact: 0, potential score impact: -6\n Score impact: 0, potential score impact: -15\n Score impact: 0, potential score impact: -12\n Score impact: 0, potential score impact: -24\n Score impact: 0, potential score impact: 0\n Score impact: 0, potential score impact: 0\n finished game with score: 0\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "An implementation of the popular board game Take It Easy! to be used for Reinforcement Learning",
"version": "0.0.2",
"split_keywords": [
"nbdev",
"jupyter",
"notebook",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "681df6ba435146caba49e17ebce8fd416785d29de3256cf851cfc0aa557065d5",
"md5": "b4195559c3f9b0eea5fd17147e29afd5",
"sha256": "b97cf12db3c8d2ee268e057ba2adcac89c1a800af8680e966a079a1b9f63accf"
},
"downloads": -1,
"filename": "take_it_easy-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b4195559c3f9b0eea5fd17147e29afd5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 6661,
"upload_time": "2023-04-17T13:51:43",
"upload_time_iso_8601": "2023-04-17T13:51:43.019635Z",
"url": "https://files.pythonhosted.org/packages/68/1d/f6ba435146caba49e17ebce8fd416785d29de3256cf851cfc0aa557065d5/take_it_easy-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bb695afb78a35b0a9aa06083ee474483d93b87ad18f1af54233f36f1f313e314",
"md5": "33b7cc6dd220eb002ada5a9cf60b9df1",
"sha256": "98dcc32b14a30c457bfe2ddeb79294932a2fc51a6ccaadf07ff8d7a279a2c7ae"
},
"downloads": -1,
"filename": "take_it_easy-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "33b7cc6dd220eb002ada5a9cf60b9df1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 7053,
"upload_time": "2023-04-17T13:51:45",
"upload_time_iso_8601": "2023-04-17T13:51:45.481021Z",
"url": "https://files.pythonhosted.org/packages/bb/69/5afb78a35b0a9aa06083ee474483d93b87ad18f1af54233f36f1f313e314/take_it_easy-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-17 13:51:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "majoma7",
"github_project": "take_it_easy",
"lcname": "take-it-easy"
}