Metadata-Version: 2.1
Name: tictactai
Version: 1.0.9
Summary: Play tic tac toe with an AI
Home-page: https://github.com/donutboy929/tictactAI
Download-URL: https://github.com/donutboy929/tictactAI/archive/refs/tags/v1.0.tar.gz
Author: Daniel Ng
Author-email: dndanielng@gmail.com
License: MIT
Keywords: tui,tictactoe,minimax
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Games/Entertainment :: Board Games
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Click
Requires-Dist: asciimatics==1.13.0
Requires-Dist: attrs==21.2.0
Requires-Dist: future==0.18.3
Requires-Dist: iniconfig==1.1.1
Requires-Dist: packaging==21.0
Requires-Dist: Pillow==10.3.0
Requires-Dist: pluggy==1.0.0
Requires-Dist: py==1.10.0
Requires-Dist: pyfiglet==0.8.post1
Requires-Dist: pyparsing==3.1.2
Requires-Dist: toml==0.10.2
Requires-Dist: wcwidth==0.2.5
Requires-Dist: importlib-metadata
Requires-Dist: typing-extensions
Requires-Dist: zipp
Provides-Extra: dev
Requires-Dist: pytest==7.2.0; extra == "dev"

# 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`.
