Connect 4

Red
0
Blue
0
Width
7
Height
6
Take turns dropping a disc into a column — it falls to the lowest open spot. First to line up four in a row — horizontally, vertically, or diagonally — wins.
Winning move — dropping here wins right now. Threat — they win here next turn, so take this square or win first. Danger — playing here hands them a win they don't already have.