[HN Gopher] Show HN: Minesweeper on a chess board with chess pie...
       ___________________________________________________________________
        
       Show HN: Minesweeper on a chess board with chess pieces as mines
        
       rearrange the chess pieces so that the number of pieces threatening
       each square matches the large number in that square? pieces move
       freely  https://chedoku.com/#dailypuzzle
        
       Author : chedoku
       Score  : 24 points
       Date   : 2023-01-14 17:42 UTC (5 hours ago)
        
       | shmageggy wrote:
       | This is really fun, and it definitely tickles that same part of
       | the brain as sudoku.
       | 
       | 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.
        
       | chedoku wrote:
       | https://chedoku.com/#dailypuzzle
        
       | noman-land wrote:
       | Super fun!
        
         | chedoku wrote:
         | Thanks, happy you liked it :)
        
       | Andugal wrote:
       | This is actually good! Well done :)
        
         | chedoku wrote:
         | I am very glad you like it and thanks for taking the time to
         | write the comment :)
        
       | bspammer wrote:
       | This is really cool. I wish the pieces were off the board at the
       | start though. I'd much prefer to build up a solution iteratively
       | than try to fix a broken one.
        
         | chedoku wrote:
         | 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.
        
       | dado3212 wrote:
       | Would also be awesome if there was deterministically only a
       | single solution, though that may be hard to create.
        
         | smegsicle wrote:
         | there's a whole extra knight in today's puzzle
        
           | chedoku wrote:
           | It was promoted from a pawn ;)
           | 
           | 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
        
         | chedoku wrote:
         | This is something that bugged me for a long time. There are
         | many other challenging algorithmic questions that I will share
         | in a separate blog post later (e.g. writing a efficient
         | solver). If you have any idea how to do that I would love to
         | hear about that.
        
           | shmageggy wrote:
           | Looks like this could be translated into a SAT problem and
           | solved with a SAT solver. Have you tried that?
        
       | akaa wrote:
       | [flagged]
        
       ___________________________________________________________________
       (page generated 2023-01-14 23:01 UTC)