Skip to main content

A tictactoe library for Python with varying board sizes and move generation

Project description

python-tictactoe

PyPI version Tests Build

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

Features

  • 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.

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

python-tictactoe-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

python_tictactoe-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-tictactoe-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 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.1.tar.gz
Algorithm Hash digest
SHA256 11d530b9d09af3c19231b411125e5a876f94f98a7fddc6f1ab0dfe3735041357
MD5 25800c719b52a7a457dd886cc1ae8653
BLAKE2b-256 6a2885874467c13d1094caf595d37856ce76249a201235081433e31d38b35461

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_tictactoe-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f440a378bb4c0f8d0937a8321f7eef5662d77fd6743029de8eb1d2994d31e568
MD5 50e4de8b6f8098aa31975350ac7c649d
BLAKE2b-256 ed57afcaeefc1ecee96bec8967084e2dca86f4bf2a91fee475986bbcfc26cc1a

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