Re: AlphaBeta Search

2007-01-13 Thread Chris
[EMAIL PROTECTED] wrote: > Chris wrote: > > I know this probably seems trivial, but I can't seem to find the bug in > > my alphabeta search implementation. > > This is another alphabeta implementation (all the nicest algorithms are > inside this AIMA codebase): > ht

Re: AlphaBeta Search

2007-01-13 Thread bearophileHUGS
Chris wrote: > I know this probably seems trivial, but I can't seem to find the bug in > my alphabeta search implementation. This is another alphabeta implementation (all the nicest algorithms are inside this AIMA codebase): http://aima.cs.berkeley.edu/python/games.html Later when

AlphaBeta Search

2007-01-12 Thread Chris
I know this probably seems trivial, but I can't seem to find the bug in my alphabeta search implementation. I'm testing it with the game of tic-tac-toe. If the first player plays in a corner, the correct move is to play in the center, but for some reason my code thinks the center and