Introduction - If you have any usage issues, please Google them yourself
This program is using cellular automata to simulate the ant game. At the beginning, the ant is in a grid of a blank canvas. If the current ant is on the white square, it will turn color against the current square, turn left and move 90 degrees. If the ant is in the black square, the current square is reversed and the right turn is 90. So repeated.