Maybe you all have heard of Minesweeper, the game where you need to look for the places of the bomb and flag them so that the mine squad can deactivate them.
Well I wondered if there was a mathematical approach of solving this game for each level of difficulty. Like a system of equations or some on its kind.
Here there is an exemple where I failed even though I was close to finishing it.
The first image I'll show you is from where I was stuck.
The second image is where I gave up and just chose a random tile.


Minesweeper is a game that involves luck. Denote $F$ as bomb. Focusing on the $3 \times 4$ block at top right corner.
\begin{bmatrix} F & F & F & 2 \\ 3 & 5 & F & 3 \\ 3 & F & 5 & F \end{bmatrix}
\begin{bmatrix} F & F & F & 2 \\ 3 & F & F & 3 \\ 3 & 5 & 5 & F \end{bmatrix}
are both valid solution. As in the given information on the board doesn't determine the solution uniquely.