177boris / AI_Tic_Tac_Toe

Tic-Tac-Toe with an AI-player (uses the minimax algorithm to calculate best moves)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI_Tic_Tac_Toe

The tic-tac-toe library is a Python package named tic_tac_toe consisting of two subpackages:

  1. tic_tac_toe.game: A scaffolding designed to be extended by front ends
  2. tic_tac_toe.logic: The building blocks of the tic-tac-toe game

To Run:

  1. cd frontends
  2. python -m console -X (player1) -O (player2)

Player options: human, minimax, random

About

Tic-Tac-Toe with an AI-player (uses the minimax algorithm to calculate best moves)


Languages

Language:Python 59.2%Language:PowerShell 30.6%Language:Shell 10.2%