At first choose your mode, (variables Lives and Powerups do not tell if one has infinite amount, see badges for that information). Then press start. After the field has finished generating, reveal the lighter tiles in the centre as they are always safe. If the tile is empty, no mines are nearby, otherwise the number is the sum of nearby mines (-1 for Negative, 1 for Regular, 2 for Double). Change modes in the upper-right corner. Here are two power ups, which one is recommended to use limited amount, indicated by a hexagon on the left, as otherwise lives will be used: The Seer which must be used on a Double or Negative Mine, reveals all tiles around, and The Link reveals all regular Mines around in a larger radius. The game is lost if one has no lives, and won if all safe tiles are revealed.
Also check out the triangular version: https://scratch.mit.edu/projects/1119043389/