Skip to content

Fixes #17: Incorrectly accepting a game as won

During clearing several tiles in method multi_release we bypass all neighbours of target tile and if we face with tile that has mine we emit exploded event but after this we continue bypassing for clearing another not flagged neighbour tiles. If after bypassing all neighbours tiles there is not empty tiles we mark game as completed and ignore exploded status of game

Merge request reports