I'm not exactly sure what the minimax algo is? I know it's a type of algorithim (only the obvious ) but nothing much beyond that. If you explained it to me maybe I could help you out, so you could implement it into code. Also, you might want to take a look at my source code to help you out.