minimax connect 4 game algorithm not working

Posted 03 December 2012 - 02:56 AM

Hi, I am trying to write a connect 4 game by trying to improve on tic tac toe algoritm from the book. My game however does not respond to my moves in any sensible way and I am failing to see way. I have been debugging for past couple of hours and my best guess is that the error is when it is trying to set the min/max values to get the best move. I would appreciate any input.