Iterative negamax?
Posted: 06 Nov 2010, 08:20
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.