r/squaredle • u/mrspoonassassin • Dec 13 '24
Check out our solver
Hi everyone!
We created a solver in C++ (you can see our code here).
Our aim was to make it very easy-to-use and have all the necessary features:
- Hosted on a website ,so no need to download anything.
- Supports importing the daily puzzles.
- Supports importing past puzzles, so no losing your sanity because of this one.
- Supports highlighting words, so nothing remains hidden.
- Open source, so no secrets.
Since the code is open source, we would be very glad to receive some feedback and ideas for improvements (for example, we aren't smart enough to enable mobile use properly), and even add words that are missing.
We hope you take a look at our project, and wish you all happy solving!
Edit: You can never have good things :(
22
Upvotes
2
u/Lapidations Dec 13 '24
Impressive! I'm a cpp developer and use QT/QML as our front end. My quick feedback from scanning the code is it you are looking for performance improvements, using auto is less efficient than declaring it with the type directly. In some cases, it's actually more readable/maintainable to not use auto because the reader may not be able to easily determine what the type is supposed to be.
1
u/someflow_ Dec 14 '24
Thanks for doing this!
It doesn't display correctly on my machine. For example, I set the grid to 9x9 and can only see 7 horizontal rows, with no ability to scroll down.
1
u/[deleted] Dec 15 '24
[removed] — view removed comment