Press ESC to close

how to make a tic tac toe ai in python