Minesweeper! Think you can build this classic logic puzzle with just one prompt?
The Prompt:
Create a basic Minesweeper game using HTML, CSS, and JavaScript. The game should have a 10x10 grid of cells. Randomly place 15 mines within this grid. When a cell is clicked, if it's a mine, the game ends and all mines are revealed. If it's not a mine, reveal the cell. If the cell has no adjacent mines, automatically reveal all adjacent non-mine cells (recursive reveal). If the cell has adjacent mines, display the count of adjacent mines. Allow right-clicking to flag a cell. The game is won when all non-mine cells are revealed. Visually, unrevealed cells are grey, flagged cells have an 'F' symbol, mines are red 'X' when revealed, and safe cells show black numbers. Provide all code in a single HTML file.