Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualalvaro

Posted 15 October 2012 - 12:11 PM

What do you do with it? I don't see it in your code...

The whole point of NegaMax is that it makes all the nodes max nodes, with the resulting code being simpler.

EDIT: Oh, I see you are passing it to your evaluation function. One typically uses whose turn it is, which is part of the board class.

#1alvaro

Posted 15 October 2012 - 12:09 PM

What do you do with it? I don't see it in your code...

The whole point of NegaMax is that it makes all the nodes max nodes, with the resulting code being simpler.

PARTNERS