tice


Nametice JSON
Version 2.1 PyPI version JSON
download
home_pagehttps://github.com/tic-tac-toe-in-python
SummaryTic-Tac-Toe in Python
upload_time2024-01-09 04:52:03
maintainer
docs_urlNone
authortice
requires_python
licenseMIT
keywords tic-tac-toe ttt ai multiplayer min max minmax minimax
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            '''
Tic-Tac-Toe

1 | 2 | 3
4 | 5 | 6
7 | 8 | 9

```python
# Player types:
tice.player
tice.ai
tice.random
tice.dumb # less smart ai
```

# How to play:
```python
tice.game(tice.player, tice.ai).play(clear=True) # clear console if after each guess?

tice.game(tice.dumb, tice.ai).play()

tice.game(tice.player, tice.random).play()

tice.game(tice.dumb, tice.random).play()

tice.game(tice.player, tice.dumb).play()

tice.game(tice.dumb, tice.dumb).play()

tice.game(tice.random, tice.random).play()

tice.game(tice.ai, tice.ai).play()

tice.game(tice.random, tice.ai).play()

tice.game(tice.player, tice.player).play()
```
'''

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tic-tac-toe-in-python",
    "name": "tice",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "tic-tac-toe,ttt,ai,multiplayer,min,max,minmax,minimax",
    "author": "tice",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/00/59/a62273edb22ced894a245ac5872a4f2952bef667094647ecc18f2d241d84/tice-2.1.tar.gz",
    "platform": null,
    "description": "'''\nTic-Tac-Toe\n\n1 | 2 | 3\n4 | 5 | 6\n7 | 8 | 9\n\n```python\n# Player types:\ntice.player\ntice.ai\ntice.random\ntice.dumb # less smart ai\n```\n\n# How to play:\n```python\ntice.game(tice.player, tice.ai).play(clear=True) # clear console if after each guess?\n\ntice.game(tice.dumb, tice.ai).play()\n\ntice.game(tice.player, tice.random).play()\n\ntice.game(tice.dumb, tice.random).play()\n\ntice.game(tice.player, tice.dumb).play()\n\ntice.game(tice.dumb, tice.dumb).play()\n\ntice.game(tice.random, tice.random).play()\n\ntice.game(tice.ai, tice.ai).play()\n\ntice.game(tice.random, tice.ai).play()\n\ntice.game(tice.player, tice.player).play()\n```\n'''\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tic-Tac-Toe in Python",
    "version": "2.1",
    "project_urls": {
        "Homepage": "https://github.com/tic-tac-toe-in-python"
    },
    "split_keywords": [
        "tic-tac-toe",
        "ttt",
        "ai",
        "multiplayer",
        "min",
        "max",
        "minmax",
        "minimax"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e7e487f8d26fa0988a758682647b9015e0404b0e77e7a8eb9af56e5937c2cd71",
                "md5": "d3ef76a239f405ac482060510a2be56c",
                "sha256": "d30f71fe6d878495e584622097070da6b226084e2b4c5bbda83c65ba493f35b6"
            },
            "downloads": -1,
            "filename": "tice-2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d3ef76a239f405ac482060510a2be56c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3044,
            "upload_time": "2024-01-09T04:52:02",
            "upload_time_iso_8601": "2024-01-09T04:52:02.012482Z",
            "url": "https://files.pythonhosted.org/packages/e7/e4/87f8d26fa0988a758682647b9015e0404b0e77e7a8eb9af56e5937c2cd71/tice-2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0059a62273edb22ced894a245ac5872a4f2952bef667094647ecc18f2d241d84",
                "md5": "6db77cb5983a16415ac8978983be2597",
                "sha256": "80e94b58a5e63ff868f702314e297a894f29754b271d4598e9cb5f22cf013e53"
            },
            "downloads": -1,
            "filename": "tice-2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6db77cb5983a16415ac8978983be2597",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2995,
            "upload_time": "2024-01-09T04:52:03",
            "upload_time_iso_8601": "2024-01-09T04:52:03.125362Z",
            "url": "https://files.pythonhosted.org/packages/00/59/a62273edb22ced894a245ac5872a4f2952bef667094647ecc18f2d241d84/tice-2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-09 04:52:03",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "tice"
}
        
Elapsed time: 0.20322s