Projects

Open source projects from the ParaCyberBellum GitHub account.

ai-powered-tic-tac-toe

ai machine-learning tic-tac-toe

AI-Powered Tic-Tac-Toe

A simple illustration of AI limitations

Reference

This code refers to the article Understanding AI limitations with a Tic-Tac-Toe game

Install and run

Install dependencies and run

pip install -r requirements.txt
python ttt.py

Game board

To play as a human, select the square number you want to play.

-------------------
|  0  |  1  |  2  |
-------------------
|  3  |  4  |  5  |
-------------------
|  6  |  7  |  8  |
-------------------

Credits

99% of the Artificial Neural Network code is a 1:1 port from Tic Tac Toe with Reinforcement Learning by antirez.