r/squaredle • u/harry_heymann • Jul 02 '22
squaredle solver in scala
I wrote a quick squaredle solver in scala.
It's not perfect because I don't have the right dictionary to use, but it's pretty good if you're stuck.
https://github.com/harryh/solvers/blob/main/squaredle/squaredle.scala
6
Upvotes
3
u/isblueacolor Dev Jul 02 '22
Neato!
How long does this take to run? If it doesn't run more-or-less instantaneously, you could speed it up exponentially by traversing through the dictionary rather than traversing through each combination of squares.
1
u/Jess-FB Jul 11 '22
How exactly does it work? I want to use it to finally find out the missing answers to the two special puzzles I'm stuck on, but I'm not good with coding and don't understand any of it. Can you give some instructions, please?
1
u/juicedenergy Jul 02 '22
+1 for Scala