The numbers reveal how many mines are around that square, including diagonals. Click to reveal. Space to flag. There are definitely bugs. I am keeping the part about you can flag numbers because funny. Oh, and sorry that the first click isn't always on a 0. AND that 0s don't automatically clear.