Iterative negamax?
Posted: Sat Nov 06, 2010 9:53 am
I want to change the usual recursive negamax search into an iterative one. I am implementing chess into a rather primitive environment (if not downright hostile) and the iterative approach would provide benefits.
I've been looking but I couldn't find one semi-legible working code. I'd love to see something that preferably uses a stack and doesn't use GOTOs (I can't use them).
The only place I could find something was on chessprogramming.wikispaces.com but nothing I could actually use.
Any help would be very much appreciated.
I've been looking but I couldn't find one semi-legible working code. I'd love to see something that preferably uses a stack and doesn't use GOTOs (I can't use them).
The only place I could find something was on chessprogramming.wikispaces.com but nothing I could actually use.
Any help would be very much appreciated.