3 ms·
I totally agree. This was the technical limitation of the library that I was using (chessboardjs). If pieces are off board, there is no easy way to limit the nu
by chedoku 4y ago
I totally agree. This was the technical limitation of the library that I was using (chessboardjs). If pieces are off board, there is no easy way to limit the number of pieces that you add to the board. Finding a better solution is on my todo list.
- remarkEon 4y agoDo you think there’s a way to “rate” a particular solution? I’m wondering about how to gauge “efficiency” in placing the pieces. Fewest “wasted” threat squares maybe?
- chedoku 4y agoI am not sure what this question has to do with the previous comment and why it is not asked in a separate thead! am I missing a point in your question? 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& https://chedoku.com/#gid=3&d=1& Is perfect solution in my terminology is what you mean by efficiency solution?