Original Post
I am coding a tic tac toe game ( Human vs Computer ) . I want to make the computer unbeatable . Using random move is no AI i think . So what should i do? I have read about game tree's but they are confusing me . I just need to write a function which returns the best move.
I am using Java
I am using Java