A Fun Experiment of Tic Tac Toe!
Install
pip install TicTacToe4fun
Run
>>> from TicTacToe4fun import game >>> g = game() >>> g.trials(n_trials = 10000, verbosity = 0, board_dims = (3, 3)) board_dims = (3, 3), X won #: 0, O won #: 0, Draw #: 10,000, Elapsed time: 0.869 sec >>> g.trials(n_trials = 1, verbosity = 1, board_dims = (3, 3)) board_dims = (3, 3), X won #: 0, O won #: 0, Draw #: 1, Elapsed time: 0.001 sec >>> ... >>> g.trials(n_trials = 10000, verbosity = 0, board_dims = (4, 4)) board_dims = (4, 4), X won #: 0, O won #: 0, Draw #: 10,000, Elapsed time: 10.039 sec >>> g.trials(n_trials = 1, verbosity = 1, board_dims = (4, 4)) board_dims = (4, 4), X won #: 0, O won #: 0, Draw #: 1, Elapsed time: 0.002 sec
Sample Screenshot
Have fun!!!
Metadata
Release files for TicTacToe4fun 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| TicTacToe4fun-0.0.6.tar.gz | 432.8 kB | Without provenance | Details for TicTacToe4fun-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| TicTacToe4fun-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for TicTacToe4fun-0.0.6-py3-none-any.whl |
Total release size: 867.0 kB
Release files / TicTacToe4fun-0.0.6.tar.gz
| Download URL | TicTacToe4fun-0.0.6.tar.gz |
|---|---|
| Size | 432.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d973b2e702bb63a2688b3fe19828e667eda901bfc1a9df9ee4dc6828b652746
|
|
BLAKE2b-256 checksum How to use checksums |
1275e67230fb9ac762f026316fb83a9a4cc85145a541b17cc84000f252c1f679
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Release files / TicTacToe4fun-0.0.6-py3-none-any.whl
| Download URL | TicTacToe4fun-0.0.6-py3-none-any.whl |
|---|---|
| Size | 434.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29a060e0200c4b7e54ba792b9e29f992ddf333e800c3eb410c9c7ac599aaae83
|
|
BLAKE2b-256 checksum How to use checksums |
57d0800632fef67a6a1e9557de626c270f730647852b3162caed45f0f8a07acf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Security for TicTacToe4fun 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.