Re:One Square Minesweeper
by SAI_Peregrinus on Wednesday October 23, 2024 @12:14PM
(#41926491)
Probably performance. It's an old game, it seems faster if the mines can get generated before the user first clicks, and then move the mine if their first click was on a mine. If you wait for them to click to generate then the entire generation step has to run before the user notices.
I always assumed it did things the way I did when I wrote my minesweeper game: it only generated the mines on the first click, avoiding the clicked tile.
I wonder why they did it that way?