Skip to main content

Avatar

Build Status Code Scanning Status Dependencies Status Security Status Published Version

Toetactic

A terminal Tic Tac Toe game where you can battle five AI opponents:

  • Dikembe: purely defensive, focused on blocking your lines.
  • Godzilla: aggressive, always looking for direct winning opportunities.
  • Noober: picks any legal move at random, hoping for luck.
  • Eleanor: builds rows and columns, avoiding diagonals unless it has no other legal move.
  • Lisa: uses a trained neural policy published by TicTacToe Models.

Toetactic Board Screenshot

Installation

pip3 install toetactic

Usage

Run the game:

toetactic

The game will prompt you for:

  1. Board dimension (default: 3)
  2. Your player name
  3. Opponent (dikembe, godzilla, noober, eleanor, or lisa)

Then enter your moves using chess-like coordinates such as A1, B3, C2.

Show help guide:

toetactic --help

Lisa downloads the model matching the selected board dimension from the TicTacToe Models 0.10.0 release on her first turn. Models are cached under ~/.cache/toetactic/models/. Set TOETACTIC_MODEL_DIR to use a different cache directory or pre-populate models for offline play.

Colophon

Developer's Guide

Build reports:

Metadata

Release files for toetactic 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for toetactic 1.0.0
File Size Uploaded Provenance Actions
toetactic-1.0.0.tar.gz 13.9 kB Without provenance Details for toetactic-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 29.4 kB

Release files / toetactic-1.0.0.tar.gz

Download URL toetactic-1.0.0.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
98b5458c73f7ce0f258563e137bcc8b1f3538dd3f2561d2f2d24995c44c774f6
BLAKE2b-256 checksum
How to use checksums
0caf44f7f9be76431de6bd7b29a78a48946520b9b84279809b4a41ae2dd5aaba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / toetactic-1.0.0-py3-none-any.whl

Download URL toetactic-1.0.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd079fff0ec820c12dd2af0b607fac7e55097f9bd38a48bebda5a78c7c99e924
BLAKE2b-256 checksum
How to use checksums
2b747c0c989480bd79a3593f515f57c15dfe58abc2f6319831635a9385029677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.10

Security for toetactic 1.0.0

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.

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