Let's play the minesweeper game! You are given an `m x n` char matrix `board` representing the game board where:
- `'M'` is an unrevealed mine,
- `'E'` is an unrevealed empty square,
- `'B'` is a revealed blank square with no adjacent mines (above, below, left, right, and all 4 diagonals),
- a digit `'1'` to `'8'` is a revealed square showing how many mines are adjacent to it,
- `'X'` is a revealed mine.
You are also given `click = [clickr, clickc]`, the position of the next click among the unrevealed squares (`'M'` or `'E'`).
Return the board after revealing this position according to these rules:
1. If a mine `'M'` is revealed, the game is over: change it to `'X'`.
2. If an empty square `'E'` with no adjacent mines is revealed, change it to `'B'` and reveal all adjacent unrevealed squares recursively.
3. If an empty square `'E'` with at least one adjacent mine is revealed, change it to a digit `'1'` to `'8'` giving the number of adjacent mines.
4. Return the board when no more squares will be revealed.