Skip to main content

BuildTest PyPi License Downloads PythonVersion

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

image1

Have fun!!!

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)

Source distribution for TicTacToe4fun 0.0.6
File Size Uploaded
TicTacToe4fun-0.0.6.tar.gz 432.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TicTacToe4fun 0.0.6
File Interpreter ABI Platform
TicTacToe4fun-0.0.6-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page