Building Minesweeper in React — BFS Flood Fill, Safe First Click, and Responsive Scale-to-Fit
How I implemented mine placement, cascade reveal with BFS, and a ResizeObserver that scales the board to fit any screen without reflowing
Apr 5, 20266 min read1

