← Back to Portfolio
Noughts and Crosses

Noughts and Crosses

Noughts and Crosses game with Unbeatable AI

Technologies:

HTML, CSS, JavaScript

Background:

Created as one of my projects for Free Code Camp's Front End Development Program

Project Details:

This project showed me the level of sophistication that is associated with even the simplest of algorithms. The project was initially completed without a great deal of research being performed. Even though I was very impressed with the fact that I had managed to do this, I was not happy about the fact that my AI was so easy to beat (chose empty slots at random). It was for this reason that I decided to work at my project some more before submitting it. I learnt about the Minimax Algorithm and in doing so I got a glimpse of the true beauty in programming. I then had nothing left to do but to implement the algorithm into my own code. If I was to go back and do this project again, the only thing I would change would be the styling, particularly the fonts used, and the re-sizing of divs when viewing on different-sized screens.

View SiteView on GitHub