A Kakuro solver written in Zig with a GUI for interactive solving.
The repo bundles 980 Kakuro puzzles from Otto and Angela Janko's puzzle site, an excellent resource for logic puzzles of all kinds, and after some algorithm improvements zig-kakuro can now solve all 980 puzzles π
- Download the Zig 0.13 for your platform here (but see platform support below).
- Clone this repo to your local machine.
- Run zig-kakuro in one of two ways:
- Run
zig build gui
to run the GUI solver - Run
zig build solve
to run the solver on all the included Kakuros.
OS / CPU arch. | Solver | GUI |
---|---|---|
macOS x86 | β | β |
macOS aarch64 | β | β |
Windows 10 x86 | β | β |
Linux | β | β |
Legend:
β - Works without issues. π - Mostly works, but with some issues. β - Does not work at all. β - Untested.
If you run into any bugs or build issues, please open an issue.
- https://www.janko.at/: for the puzzles bundled in
boards.txt
. An amazing website for logic puzzles of all kinds. The puzzles are licensed under Creative Commons 3.0, and are used for non-commercial purpose with attribution, see https://www.janko.at/Raetsel/Creative-Commons.htm for more information. - raylib: used to build the GUI.
- raylib-zig: Zig bindings for Raylib, makes it a breeze to get started with Zig + Raylib!
zig-kakuro is licensed under the MIT License.