Show HN: Minesweeper on a chess board with chess pieces as mines
https://chedoku.com/#dailypuzzle
https://chedoku.com/#dailypuzzle
Back to your question. There are two types of solutions: 1- Perfect solution, you get a green notification when you find the solution, in which other squares with no number have zero threats. Pressing the 'solution' button reveal the perfect solution 2- Imperfect solution, you get a yellow notification when you find one, in which other squares with no number may be under one or more threats.
As a simple example, for the puzzle below placing pawn on c2 is an imperfect solution but placing it on a2 is the perfect solution.
https://chedoku.com/#gid=3&d=1&
Is perfect solution in my terminology is what you mean by efficiency solution?
One UI suggestion is to use a diverging color palette for the larger numbers so there are different hues for too many versus too few attackers.
edit: i meant if you (r13: ebbx naq xavtug ba oynpx'f xvat'f ovfubc naq xavtug cbfvgvbaf) you only need to use two of the three provided
joke aside, there can be: 1- any arbitrary number of pieces on the board 2- pawns in the first and last rows 3- missing king 4- missing opposite color pieces
2- Imperfect solution, you get a yellow notification when you find one, in which other squares with no number may be under one or more threats.
A bit confusing so for now I try not to be strict about imperfect solutions.