I have a grid of white squares and I need to know how to let a user click on one of the squares. Once the user clicks, the program checks what color the square is, if its black, its turns it white and vice-versa.
How can I do this?
I have a grid of white squares and I need to know how to let a user click on one of the squares. Once the user clicks, the program checks what color the square is, if its black, its turns it white and vice-versa.
How can I do this?