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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tictactai-1.0.8.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for tictactai-1.0.8.tar.gz
Algorithm Hash digest
SHA256 1ab19eb4c088aeb21647ad7bb9250bb7e651f736cdb919a8e778b4ec9cf0a238
MD5 e16b9a3c4abdd2be550daf6e5c0a775d
BLAKE2b-256 75f07f9f37e71ab481df4272e0d18ae9ceb63464a9953d7747f93fad2db9d01b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tictactai-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for tictactai-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 15bf89346965c48be39e5f28500e80c1527c4992ce3aa2c7511322614f00dbc6
MD5 5df2f68af840df1d63af610862bf1e3a
BLAKE2b-256 bdca00ad093581b2288a5876760583f8046d9b31d934f2b45315cbe137c743ff

See more details on using hashes here.

Supported by

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