Settings

Theme

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

github.com

5 points by dschafer a year ago · 1 comment · 1 min read

Reader

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).

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection