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 1.0.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.1.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.1.0
File Size Uploaded Provenance Actions
toetactic-1.1.0.tar.gz 13.9 kB Without provenance Details for toetactic-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 29.4 kB

Release files / toetactic-1.1.0.tar.gz

Download URL toetactic-1.1.0.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
294ff76ed19c0d0ac97bca8695bacf239892824e4b1ddea7d9ccce4ea131f07a
BLAKE2b-256 checksum
How to use checksums
7edae0b25e4aba133c58ea0b367b71e81c5717d759c5c89a715602b455874536
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.1.0-py3-none-any.whl

Download URL toetactic-1.1.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dd29e3194a46d1952e6e1bc7e1cbe1d3ae344c7e04077c3a0c26f4a95982b4a
BLAKE2b-256 checksum
How to use checksums
2196f26927da9b357a990f572ba9f20a2c5707d356fe2d15f1f67e1c25be47f5
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.1.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