Just to let you know, I decided to lower the difference needed for the AI to try to erase a tile. I also added a warning that in the larger sizes it takes a few seconds to play (I had forgotten). Still, I managed to place 4 AI on the 8x8 grid and it didn't laggy at any point. :)