[Solved] Minesweeper revealing cells in C
Okay, here’s an example implementation. It uses the following values for tiles: 0 to 8: an unmined tile; the number represents the pre-calculated number of adjacent mines 9: a mine; this special value is defined as BOMB. Covered tiles have 10 added to that, flagged tiles (not used here) have 20 added to that. You … Read more