Dark Mode

Tic Tac Toe Machine Learning Lab Kit

An Interactive Game in which you Train an AI to Play Tic Tac Toe


GitHub Repository

Background

As I was learning python, I made a very simple inteactive tic tac toe game. I kept polishing it instead of progressing through the tutorial I was in. In pushing myself to add and debug features I found that I got to a point where I could teach myself by referencing Python's own documentation.

Simple version

This version will work on all platformas that run Python.

When I got this version complete, I continued with other tutorials to learn about object oriented programming and other Python libraries.

The Project

This was a simple and fun project for me to learn python. Not all the menu items have been set up and will crash if they are selected. The keyboard interface only works with Microsoft Windows OS.

It does not apply proper machine learning techniques. The "machine learning" is aggregating in raw SQL for each occurance. They do infact improve and figure out how to play.

Next Steps

Next steps for this project will be to integrate proper machine learning into the the AI profiles. Then add the rest of the menu elements.

I may decide to do this in JavaScript and HTML with the Math.js or TensorFlow libraries. The potential for this project is educational. It would be nice to share easily and be more interactive.