|
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.
|