Press ESC to close

how to code chess ai in java