Skip to main content

Tic Tac Toe with AI.

Project description

Tic Tac Toe with AI

forthebadge made-with-python
Python 3.6

Discription

This is a simple command-line implementation of the Tic Tac Toe game in Python, where you can play against an AI opponent. The AI opponent uses the minimax algorithm to make its moves, providing a challenging gameplay experience.

Usage

  • Make sure you have Python installed in your system.
  • Run Following command in the Terminal.
 pip install TicTacToeAI

Example

# test.py
import TicTacToeAI

## To run

run = TicTacToeAI.play_game()

Run the following Script.

 python test.py

Note

  • I have tried to implement all the functionality, it might have some bugs also. Ignore that or please try to solve that bug.

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

TicTacToeAI-0.0.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

TicTacToeAI-0.0.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file TicTacToeAI-0.0.3.tar.gz.

File metadata

  • Download URL: TicTacToeAI-0.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for TicTacToeAI-0.0.3.tar.gz
Algorithm Hash digest
SHA256 bcdf1eef2cf4bf44a2502084c107e9acb1606776d120f597b526499473e2ffcd
MD5 126b4e7f80796ec9de87dead7e335aaa
BLAKE2b-256 4883d8521b2bb14c389c937273656d7cf100cccec0895ca19ab92a5d674033e3

See more details on using hashes here.

File details

Details for the file TicTacToeAI-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: TicTacToeAI-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for TicTacToeAI-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 249cf7cf2b085f292952a14efcf410928297f2b2701fbadee972a95b7a15c369
MD5 35ecbf9680c3f1a537ca9f3d8820c95e
BLAKE2b-256 5ac6554a413439d31d0e2dee9e9160def4aef30abd5593b9716d2603a0d5fbcc

See more details on using hashes here.

Supported by

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