How Minesweeper works: Some tiles will have a number, that number indicating how many mines are in its 8 surrounding tiles. If you know for sure where all the mines are that fulfill the number of a tile, that means the tiles around it must be safe (If your correct of course).
The game Nullscape on Roblox inspired me to make this thingamajig.