I can see that I have three O pieces in a row in the bottom row (columns 1, 2, and 3). By playing in column 0, I'll complete a horizontal line of four O pieces and win the game immediately. This is clearly the optimal move since it gives me an immediate victory.