Skip to main content

Play tic tac toe with an AI

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tictactai-1.0.8.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

tictactai-1.0.8-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page