tic tac toe problem in artificial intelligence relate app&game