# tictactAI
[![PyPI version](https://badge.fury.io/py/tictactai.svg)](https://badge.fury.io/py/tictactai)
Play against a tic tac toe AI in the shell, implemented with the minimax algorithm.
## Installation
```
pip install tictactai
```
## How to play
Open a new terminal or cmd and run:
```
tictactai
```
Alternatively, to play against a friend:
```
tictactai --pvp
```
Start the game and make subsequent moves by clicking on an empty position on the board.
Expanding the terminal/cmd window may be needed for optimal performance.
To end the game, type `x` or `q`.
Raw data
{
"_id": null,
"home_page": "https://github.com/donutboy929/tictactAI",
"name": "tictactai",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "tui, tictactoe, minimax",
"author": "Daniel Ng",
"author_email": "dndanielng@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ae/23/77bcc5e5f254c76a81305aa27e4cc47bd74a818b004e2b94b26b82e20447/tictactai-1.0.9.tar.gz",
"platform": null,
"description": "# tictactAI\n\n[![PyPI version](https://badge.fury.io/py/tictactai.svg)](https://badge.fury.io/py/tictactai)\n\nPlay against a tic tac toe AI in the shell, implemented with the minimax algorithm.\n\n## Installation\n\n```\npip install tictactai\n```\n\n## How to play\n\nOpen a new terminal or cmd and run:\n```\ntictactai\n```\n\nAlternatively, to play against a friend:\n```\ntictactai --pvp\n```\n\nStart the game and make subsequent moves by clicking on an empty position on the board.\n\nExpanding the terminal/cmd window may be needed for optimal performance.\n\nTo end the game, type `x` or `q`.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Play tic tac toe with an AI",
"version": "1.0.9",
"project_urls": {
"Download": "https://github.com/donutboy929/tictactAI/archive/refs/tags/v1.0.tar.gz",
"Homepage": "https://github.com/donutboy929/tictactAI"
},
"split_keywords": [
"tui",
" tictactoe",
" minimax"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0add1b07aa1fd8614abed66a7df95bc974015f64b76f8b4229d93c2c8dd4ab32",
"md5": "c9720cc63ae1dfb2d7ffb2ad91423fcd",
"sha256": "cdd6e482192d0c06bf11be2bebb6aa06a357d8dc5da5b84a48dff8c0a9424e1c"
},
"downloads": -1,
"filename": "tictactai-1.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c9720cc63ae1dfb2d7ffb2ad91423fcd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 2854,
"upload_time": "2024-08-05T11:15:49",
"upload_time_iso_8601": "2024-08-05T11:15:49.760152Z",
"url": "https://files.pythonhosted.org/packages/0a/dd/1b07aa1fd8614abed66a7df95bc974015f64b76f8b4229d93c2c8dd4ab32/tictactai-1.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ae2377bcc5e5f254c76a81305aa27e4cc47bd74a818b004e2b94b26b82e20447",
"md5": "3be08f1ac39fce244e5cd9626ac4d59c",
"sha256": "7027245b22601e61724680a1b8e7631d1b7f0a8884e3ba7edbca6b9f4754fa5f"
},
"downloads": -1,
"filename": "tictactai-1.0.9.tar.gz",
"has_sig": false,
"md5_digest": "3be08f1ac39fce244e5cd9626ac4d59c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4208,
"upload_time": "2024-08-05T11:15:50",
"upload_time_iso_8601": "2024-08-05T11:15:50.978825Z",
"url": "https://files.pythonhosted.org/packages/ae/23/77bcc5e5f254c76a81305aa27e4cc47bd74a818b004e2b94b26b82e20447/tictactai-1.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-05 11:15:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "donutboy929",
"github_project": "tictactAI",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "tictactai"
}