An open API service indexing awesome lists of open source software.

https://github.com/giordanodaloisio/tictactoe

This project is an implementation of a simple AI playing TicTacToe using the MinMax algorithm and a simple heuristic. This project has been made only for educational purpose
https://github.com/giordanodaloisio/tictactoe

ai heuristics minmax-algorithm python tictactoe

Last synced: about 2 months ago
JSON representation

This project is an implementation of a simple AI playing TicTacToe using the MinMax algorithm and a simple heuristic. This project has been made only for educational purpose

Awesome Lists containing this project

README

          

# TicTacToe player AI

## Requirements

- python 3

To play the game run in the terminal from the project folder `python main.py`.

To watch two AI play angainst each other replace in `main.py` the line `man_vs_ai(game)` with `ai_vs_ai(game)`