I have to point out that it is missing 1 minesweeper mechanic.
If you left and right click (both buttons at the same time) on a number that has the right amount of flags around it, all adjacent tiles will be revealed.
sorry I tried to implement chording and it couldn’t work properly due to some weird javascript html problem. I’ll try to implement it when I’m more experienced.
IMO just have the blank-spreading mechanic spread through tiles that the chording mechanic would apply to. (Which could click a bomb if there's an incorrect flag somewhere, but that's the game.)