Connect4AI is a Flask web app that I developed in August of 2020. This web app uses HTML, CSS, and JavaScript for the front end, and python for the back end. I had virtually no experience using flask prior to beginning this project, so it's been a fun challenge to learn about it throughout development.
This web app allows users to either play against a friend on the same device or play against an AI. The AI utilizes the minimax algorithm with alpha-beta pruning to decide its moves, with a varying depth for each difficulty (Easy: 3, Medium: 4, Hard: 5). The evaluation function that it uses examines the board and increments or decrements the score depending on the number of blank spaces that, if filled, would result in a winning game state.