Press ESC to close

how to make an ai for tic tac toe java