3 ms·
Nice. I once wrote a “clone”[1] and when someone here pointed out the “first click is safe” feature, I implemented it by putting the reshuffle inside a while.
by ronilan 9y ago
Nice.
I once wrote a “clone”[1] and when someone here pointed out the “first click is safe” feature, I implemented it by putting the reshuffle inside a while. Never thought of the first click as being “pre game”...
[1] https://www.ronilan.com/bugsweeper/ https://www.ronilan.com/bugsweeper/
- Zarel 9y agoModern versions of Minesweeper actually makes it so nothing _around_ your first click is a mine, so you always reveal more than one square. https://guangcongluo.com/dminer/ https://guangcongluo.com/dminer/ is a version I wrote while trying to teach myself React.