This is for @Santiago020267 to see and use. I made the game regenerate the mines if the first click is fatal or a number. See inside the 0 sprite. This works by detecting when a block is clicked, and checking if the block is a bomb. If it is a bomb (or number in some cases) it regenerates the blocks. This causes a slight lag, but it is better than getting a bomb on first click, right?