ProjectsGo Back to ProjectsTic Tac Toe
Tic Tac Toe

Tic Tac ToePlay with a friend or an AI


Secret Code: To play with the minmax AI, name the second player notWin. Hopefully you win :). This project was challenging conceptually for me. I had to think about how the app can first keep track of the board and the player's position. I used array's to create a winning logic and went from there. The minmax AI was from online. Using recursion, the AI is able to pick from a list of scores the best position to beat the player. It's pretty fun because the AI won't slip up and let the player win. I deployed the app using netlify and use netlify hooks to continuously integrate and deploy.