Not a big deal but because it's random it's completely possible for it to generate a black tile where there already is one. To work around this, check if the new one is already on the list and if so then keep trying. This only becomes an apparent issue when there are already many black squares.
Not a big deal but because it's random it's completely possible for it to generate a black tile where there already is one. To work around this, check if the new one is already on the list and if so then keep trying. This only becomes an apparent issue when there are already many black squares.