Daniel's Intro to SDL2

So Minesweeper has 3 modes: Beginner, Intermediate, and Expert. Beginner has 10 mines and uses an 8x8, 9x9, or 10x10 board. Intermediate has 40 mines and uses a 13x15 or 16x16 board. And Expert has 99 mines and uses a 16x30 or 30x16 board.

You can right-click a cell to place a question mark on it (guessing there's a mine there), to flag it (you know there's a mine there), or to clear the flag or guess.

When you left-click a cell, it reveals what is underneath, whether it's clear or a mine. Mine's explode and you lose the game, while clear cells reveal the number of mines that are in nearby cells.

You can also middle-click on an already revealed cell and, as long as there are no mines nearby, it will auto reveal all nearby cells.