Skip to main content

python-tictactoe

PyPI version Tests Build codecov

A tic-tac-toe library that supports different sizes and dimensions and how many marks in a row to win.

Installing

Download and install the latest release:

pip install python-tictactoe

Features

  • Includes mypy typings.

  • Different board sizes

from tictactoe import Board

board = Board(dimensions=(4, 5))
  • More than 2 dimensions
from tictactoe import Board

board = Board(dimensions=(6, 2, 5, 8))
  • More than 3 in a row to win
from tictactoe import Board

board = Board(dimensions=(10, 10, 10), x_in_a_row=8)

License

python-tictactoe is licensed under the MIT License. Check out LICENSE for the full text.

Download files

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

Source Distribution

python-tictactoe-0.0.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

python_tictactoe-0.0.3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file python-tictactoe-0.0.3.tar.gz.

File metadata

  • Download URL: python-tictactoe-0.0.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for python-tictactoe-0.0.3.tar.gz
Algorithm Hash digest
SHA256 813f68decd3536863f3c3112091964a3f59b1d15858e88917462364256f9d832
MD5 0e263f757d20e5b127798d838c95d6a9
BLAKE2b-256 439ebadef867352c2f859c7bb53cb529778d1b37729f09562af48ac2cb0f1f89

See more details on using hashes here.

File details

Details for the file python_tictactoe-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: python_tictactoe-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for python_tictactoe-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e9366b89ab35d16ca3a08f3d23628ee46dd45e321aab5aed8d98a88908fb20c7
MD5 803b3e6caf603912195184fcbe261d13
BLAKE2b-256 423053ebb58d0d8035150241ffd2634b0aa6da6847496f7927d4484dcee05ef3

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 Sentry Error logging StatusPage Status page