Show HN: A fast command-line tool for solving Queens puzzles

I've been hooked on Queens puzzles (https://www.linkedin.com/games/queens/) for the last few months, and decided to try and build a solver for them.

Rather than doing a traditional solution search, I tried to model it instead on how humans solve these puzzles, iteratively eliminating and confirming possible squares for Queens.

And since this was a side-project, I decided to go overboard, and try and make it as fast as possible (avoiding HashMap/HashSet in favor of bit fields, for example).

5 points dschafer 1 year ago 0 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton