How not to play Connect Four: an introduction to Dynamic Programming