Connect 4 AI

My first CS project: an AI companion to play Connect 4 with

TECHNOLOGIES

My first ever CS project was a Connect 4 AI that used a min-max algorithm with alpha-beta pruning. At first, I didn't know what any of that meant, but I really wanted to build an AI that could play Connect 4. So, I did a bit of digging around and stumbled upon the min-max algorithm. My AI assign boards a value using heuristics, with positive numbers representing a favorable board for player one and negative numbers representing a favorable board for player two (the AI). Then, for all possible board state that are X moves away, the AI chooses the value that minimizes the board value, and assumes the opponent chooses moves that maximize their value. I think this was a great first project as it helped me understand how to represent state with data.