Simulate a game of Minesweeper on a fixed mine layout. The player clicks cells one at a time; the board tells them how many mines touch each revealed cell and opens whole empty regions automatically.
Write play_minesweeper(mines, clicks) that returns a tuple (view, status):
mines: a list of equal-length strings, "*" for a mine and "." for a safe cell.clicks: a list of (row, col) pairs, processed in order. All are inside the board.view: the board the player sees after the clicks, as a list of strings. Hidden cells are "#", a revealed safe cell shows its count of mines among its 8 neighbours as a digit "0"-"8", and a clicked mine shows "*".status: "lost" if a mine was clicked, "won" if every safe cell is revealed, otherwise "playing".Rules:
0, all 8 neighbours are revealed too, and this repeats for every newly revealed 0 cell."won" from the start.