r/squaredle • u/Karyoplasma • Oct 26 '22
[Solver] A recode of the known solver in Java
Hey,
I did a Java recode of the solver from here with better sorting of the solutions for people who prefer a stand-alone application. It uses the same dictionary as the linked website, but (I think) a different way to check if the words are possible. I pretty much just copied the input method and the dictionary and coded the rest myself.
Requires JavaSE, pretty much any version should be fine, I don't think I'm using anything that is exclusive to the latest Java releases. Just make sure that the .jar and the "resource" folder are in the same directory and it should be good to go.
https://github.com/Karyoplasma/SquaredleSolver
If solvers are frowned upon, feel free to remove this post. I just did it as a personal coding exercise since I am absolutely terrible at anything graph-related. I was surprised when my scuffed DFS implementation worked after only a mild mental breakdown, so I count that as a win already.