20230420 update
Author: ax_pokl,
published 1 year ago,
Fixed a bug where the player didn't die immediately after clicking on a mine and clearing lines with penalties, as new lines were cleared instead.
1. Repeatedly checking for mines after clearing lines caused repeated line additions: Added a condition to the penalty check, preventing the check from occurring during death.
2. After stepping on a mine and clearing lines, additional lines were added, causing lines to be cleared again after death: Modified the calculation of the top row's numbers and changed the display method for the top row's mines.