Skip to main content

Library of the game tic-tac-toe + AI. Experimental functionality with dynamic parameters of the game field

Project description

titato

Library of the game tic-tac-toe + AI. Experimental functionality with dynamic parameters of the game field


Features:

  • Unlimited number of players in one game
  • Creating a playing field of any size:
    • With size parameters required: row, column and winning combination
  • Artificial Intelligence algorithm works with any game settings

# Visualization of dynamic settings of the playing field
                                                                               10 x 10  player vs player vs player
                                                                        +-----+---+---+---+---+---+---+---+---+---+---+
                                   6 x 6  player vs player              | / | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
                               +-----+---+---+---+---+---+---+          +-----+---+---+---+---+---+---+---+---+---+---+
 3 x 3 player vs player        | / | 0 | 1 | 2 | 3 | 4 | 5 |          |  0: | * | * | * | * | * | * | * | * | * | * |
   +-----+---+---+---+         +-----+---+---+---+---+---+---+          |  1: | X | * | * | * | * | * | * | O | * | * |
   | / | 0 | 1 | 2 |         |  0: | * | * | * | * | X | * |          |  2: | * | X | * | * | * | * | O | * | * | * |
   +-----+---+---+---+         |  1: | * | * | * | * | O | * |          |  3: | * | * | P | * | * | P | * | * | * | * |
   |  0: | O | * | X |         |  2: | * | * | * | * | O | * |          |  4: | * | * | * | X | O | * | * | * | * | * |
   |  1: | * | O | * |         |  3: | X | X | X | X | O | X |          |  5: | * | * | * | O | X | * | * | * | * | * |
   |  2: | X | * | O |         |  4: | * | * | * | * | O | * |          |  6: | * | * | O | * | * | X | * | * | * | * |
   +-----+---+---+---+         |  5: | * | * | * | * | O | * |          |  7: | * | O | * | * | * | * | X | * | O | * |
                               +-----+---+---+---+---+---+---+          |  8: | O | * | * | * | * | * | * | * | * | * |
                                                                        |  9: | * | * | X | P | P | P | P | O | P | P |
                                                                        +-----+---+---+---+---+---+---+---+---+---+---+


Documentation

Documentation on GitHub

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

titato-1.0.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

titato-1.0.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file titato-1.0.1.tar.gz.

File metadata

  • Download URL: titato-1.0.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for titato-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ddf90bed2ffee001f23483c99feff6e8d95d7d000a57a09a66b864f82be7e2ab
MD5 6c86a031515002d80077938bbf14a1cd
BLAKE2b-256 688bf4f7ec6f1a70e67daf680dfe4f5e98574cc1f2ff779a4e689eac7cf94fb7

See more details on using hashes here.

File details

Details for the file titato-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: titato-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for titato-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47f38fc8adb7b97e3ac64d56c27348bbf22e0a07292ecdba06bd04fe56f867c7
MD5 70e344dc606396d712132b8dbe973b2c
BLAKE2b-256 a3c0ccf149eb8dd9c2f3d48c7218d4962aa8ec884773e32e1c4a6a6fe4c472ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page