TicTacToe

The Project

This site utilizes a minimax algorithm to have an Artificial Intelligence play against you in a game of TicTacToe. The logic and working of the algorithm is written in a seperate Python File, and content is rendered onto the webpage via Flask, Jinja, AJAX, and Javascript. This project was inspired as an initial deep thrill dive into the world of AI algorithms and solutions alongside giving the user a challenging yet fun time. One difficulty was understanding the algorithm's working and logic as this was my first encounter with it, but eventually, it led to building it onto a webpage on the internet. Another was to make a deepcopy of the result boards as any other form would lead to inconsistencies while minimax'ing. Another difficulty was having the boxes disabled and enabled at appropriate times, especially on the initial site-load. This project is published on the internet with the help of PythonAnywhere at: https://aayan0207.pythonanywhere.com/play_tictactoe

Advanced

About the team

  • India

Team members

  • Aayan