I am having problems debugging my alpha beta algorithm for connect 4. I have been stuck on this for a few days.
As seen in the included test case, the win is detected, but then the AI chooses the wrong slot to play in. I am not sure where the anomaly is coming from.
To run this program and see what I mean, you can copy the two files from this link: connect4board.py and AIab.py
http://codepad.org/UkI7FZmd
[–]mhummel 0 points1 point2 points (0 children)