LewisGaul / minegauler

A clone of the original minesweeper game with many added features
GNU General Public License v3.0
12 stars 8 forks source link

Revert number of mines after loading custom board #45

Closed LewisGaul closed 4 years ago

LewisGaul commented 4 years ago

Loading a custom board sets the board size, number of mines, and max mines per cell. Of those, only the board size should be permanent - when a new game is started the number of mines and max per cell should be reverted. Currently the max mines per cell are accidentally reverted.

LewisGaul commented 4 years ago

This gets messy and feels a bit of a weird behaviour anyway (although per cell will continue not to be changed in response to loading a board). Consider the following: