srslafazan / tic-tac-toe

A tic-tac-toe applications with a trained ai / machine learning backend decision engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic Tac Toe

A stateless tic-tac-toe implementation in Python that supports human and/or computer players.

Run unit tests

Tic Tac Toe Python Console

Tic Tac Toe Python Console Computers

TL;DR

python -m frontends.console -X human -O minimax

Usage

Requirements

  • python 3.11.4
  • pip 23.1.2
  • virtualenv 20.21.0

Setup

All of these libraries and applications require Python 3

Set up a virtualenv:

python -m venv .venv
source .venv/bin/activate

Install the library:

python -m pip install --editable library/

Further Documentation

The backend may be run as standalone API services.

See the Backends README

The game may be played via console.

See the Frontends README

License

MIT

See LICENSE

About

A tic-tac-toe applications with a trained ai / machine learning backend decision engine.

License:MIT License


Languages

Language:Python 99.3%Language:Dockerfile 0.7%