Clean code and some notices

8 views
Skip to first unread message

Raymond Ye

unread,
May 15, 2012, 3:05:11 AM5/15/12
to ai_co...@googlegroups.com
Hi all,

There are some notes you should remember for the program:
In the getNextMove function, the auto_move function has two availables. You should careful about the runting time for the second available because it determine how depth of the recursive function will go. I have few test on it. 

OK level: 9, but it will draw when it compites with MonteCarloAI. And it will not crash when playing with human.

Tie Level: 10, it will win MonteCarloAI, but it will crash with playing with human.

It has tested in My computer and CSIF machine. So it may need a optimization in algorithm, so that we can use level 10.

Thanks,
Daihua
minimax_connect.java

Raymond Ye

unread,
May 15, 2012, 3:16:57 PM5/15/12
to ai_co...@googlegroups.com
Hi All,

I forget to test it, you need to comment two line of code to make it work.

line 149, 152.
Reply all
Reply to author
Forward
0 new messages