jozsefsallai / discord.js-minesweeper

Generate Minesweeper mine fields using Discord's spoiler tags.
MIT License
16 stars 4 forks source link

Add an way to generate puzzles without any guesses required? #9

Open benslv opened 3 years ago

benslv commented 3 years ago

I'm not sure how easy this would be to implement, but a further improvement could be to have the ability to pass in an argument (bool) determining whether the generated puzzle requires any guessing to solve,

jozsefsallai commented 3 years ago

Hello!

Sorry for the late response, my focus shifted onto different projects.

I'm not sure I fully understand what you mean by that? Could you give me an example, if you're still interested in this feature?

benslv commented 3 years ago

Really sorry it's taken me a long time to reply, too! 😅 Sometimes when playing Minesweeper you get put into a position where you have to make a guess on one of the squares in order to progress, and there's no way of working out logically which square you need to pick next.

I was just wondering a feature to generate puzzles that didn't require any guessing would be possible? I'm not entirely sure how one might go about doing this, though...