panki27 / minesweeper

A minesweeper implementation for the Flipper Zero device.
GNU General Public License v3.0
70 stars 6 forks source link

mines are not appearing in row and column of first placement #8

Closed mikhatech closed 1 year ago

mikhatech commented 1 year ago

When starting a game and clicking on a field, no mines appear on the row and column of first placement. This leads to a win strategy of the game: You cklick a random field and click every field in the column and row of the first cklick field. I am a beginner in contributing to open source projects. I will try to resolve this issue.

panki27 commented 1 year ago

@mikhatech good find! I never noticed this during testing, but now it seems so obvious.

I've identified the bug. Hint: You only need to change 2 characters to fix it 😏

If you need some help contributing, please let me know, I'm happy to help ❤

mikhatech commented 1 year ago

I fixed it