Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
at TicTacToeOtherClass.computer(Main.java:181)
at TicTacToeOtherClass.main(Main.java:39)
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Gurudas Bhandarkar wrote:@fred
good to hear from you. About my connect four, its still the same, without alpha-beta.
so started a new game of tic tac toe. as usual it threw many errors.
If you don't mind and have time, can you just check the code for connect four and let me know my mistakes in alpha-beta pruning?
Gurudas Bhandarkar wrote:@Fred
i think I will do the connect four redesigning after tictactoe...
For tictactoe, I will implement your strategy. But still there is a minute bug for which I am not able to debug..
I sincerely hope that I am not irritating you.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |