Talk:Negamax

From Wikipedia, the free encyclopedia

The code is *WRONG*! For negamax we must negate the heuristic value of node for player 2. Also, if the root of this call is for player 2, we must negate the final result. Please correct the code.

It's correct (the recursive call to negamax is negated). --IanOsgood (talk) 17:54, 17 April 2008 (UTC)