Day 49 Tic-Tac-Toe Game

Today I completed first project while documenting it on GitHub! Before when I made a GitHub last month actually connecting my Git repo to the GitHub website was the confusion I had.

This was a fun project overall to create. Followed along with the FreeCodeCamp YouTube channel. The tic-tac-toe AI we created is unbeatable and will result in a tie. The AI function was a minimax algorithm

In short the AI was assigned +10 score for a win, -10 score for a loss, and 0 for a tie. It chooses the highest score for victory on its turn and assumes lowest score during a human players turn.

The plan is follow along with creating projects until the patterns and work flow becomes subconscious and obvious.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Up ↑

%d bloggers like this: