Press ESC to close

how to make a simple ai in c++