Skip to main content

Play tic tac toe with an AI

Project description

tictactAI

PyPI version

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.

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.9.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

tictactai-1.0.9-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file tictactai-1.0.9.tar.gz.

File metadata

  • Download URL: tictactai-1.0.9.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for tictactai-1.0.9.tar.gz
Algorithm Hash digest
SHA256 7027245b22601e61724680a1b8e7631d1b7f0a8884e3ba7edbca6b9f4754fa5f
MD5 3be08f1ac39fce244e5cd9626ac4d59c
BLAKE2b-256 ae2377bcc5e5f254c76a81305aa27e4cc47bd74a818b004e2b94b26b82e20447

See more details on using hashes here.

File details

Details for the file tictactai-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: tictactai-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for tictactai-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 cdd6e482192d0c06bf11be2bebb6aa06a357d8dc5da5b84a48dff8c0a9424e1c
MD5 c9720cc63ae1dfb2d7ffb2ad91423fcd
BLAKE2b-256 0add1b07aa1fd8614abed66a7df95bc974015f64b76f8b4229d93c2c8dd4ab32

See more details on using hashes here.

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