A tic-tac-toe library that supports different sizes and dimensions and how many marks in a row to win
Project description
python-tictactoe
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
Built Distribution
File details
Details for the file python-tictactoe-0.0.2.tar.gz
.
File metadata
- Download URL: python-tictactoe-0.0.2.tar.gz
- Upload date:
- Size: 3.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06545614d842891a124227ac2e024d0f9a4c23180a1f6e502c94e2f0ad924cfd |
|
MD5 | 8e746a1878577d9ed237deb612a10fa7 |
|
BLAKE2b-256 | 30480566e4ca0f11fee7898e51e498b855b0bfeb222342d0ed2ebf94ea87ced3 |
File details
Details for the file python_tictactoe-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: python_tictactoe-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb7a629dd737310aa952c81756a5982b19118ed9a36e3820d39366ec2991584 |
|
MD5 | 0bb0253a5f70eb50a76737d670d72fcb |
|
BLAKE2b-256 | 8f3a3692b65fad922a4ac6b6b0fb48a8c482d310a4c4e5d70428c7f71814ab91 |