Inspiration

This is a simple tic tac toe game made with JavaScript. I wanted to learn about different algorithms, so I found about about minmax algorithm and implemented it in my game.

What it does

This is simple User vs CPU tic tac toe game. And because of minmax algorithm, it's almost impossible to beat the CPU.

How I built it

I built it using HTML, CSS and JavaScript. In JavaScript I used sophisticated minmax algorithm.

Challenges we ran into

Since minmax algorithm was new for me, I watched reference videos several times and finally understood the logic.

What's next for Tic Tac Toe

A better UI and 2 player implementation would make this game even better

Built With

Share this project:

Updates