Connect Four is a two-player strategy game played on a 7×6 grid. Take turns dropping pieces into a column — the piece falls to the lowest open spot. The first player to line up four pieces in a row, column, or diagonal wins.
About the project
This is a full implementation built from scratch with an HTML5 canvas board, smooth drop animations, and a computer opponent that plans several moves ahead using game-tree search with pruning to play efficiently. Difficulty is adjustable, and the opponent's strength scales with how far ahead it looks.