Tic Tac Toe

Tic Tac Toe screenshot
DemoGitHub

Description: Play Tic Tac Toe against a formidable opponent.

Why I made Tic Tac Toe: This was a project from freeCodeCamp's Advanced Front End Development Projects. Tic tac toe is a simple game, and so I wanted to see if writing a bot was equally simple. It was not.

What I'm proud of: I had to think very algorithmically. I had to maintain state so that the bot would know which move is probably a good one. I ranked the best moves. At the time, I tried to implement the infamous minimax algorithm but it proved too complex for me, although I may take a stab at it at a later dateCompleted. While not unbeatable, my bot has beat most people I've shown it to.

Date: September 2017

Tech:

HTML5 logoCSS3 logoJavaScript logoSemantic UI logojQuery logo