View Single Post
Old Dec 14th, 2005, 5:59 PM   #5
andro
Professional Programmer
 
Join Date: Oct 2005
Location: California
Posts: 294
Rep Power: 3 andro is on a distinguished road
Send a message via AIM to andro
I have some tic-tac-toe code lying around somewhere that implements minimax, if you're interested in seeing it.

Edit: It's actually a minimax variant called negamax. Really it's the same thing, it just eliminates the need for dual recursive functions and replaces it with one function.
andro is offline   Reply With Quote