implementedtiles' logic, making them change color and disappear