Minesweeper 3D

The classic logic puzzle, reimagined as a 3D block. Reveal all safe tiles without hitting a mine!

What this code does

- 3D Grid State: Implements a recursive flood-fill algorithm for a volumetric 3D grid.
- Logic Puzzle: Numbers indicate how many mines are adjacent in 3D space (up to 26 neighbors).
- Interaction: Click to reveal; SHIFT+Click or Long-press to flag potential mines.
- Visual Feedback: Animated tile reveals and glowing mine indicators.
- Controls: Mouse/Touch for selection; GUI for grid size and mine density.