Show HN: Made a million Kakuro puzzles and a web app

  • Posted 20 minutes ago by selinger
  • 1 points
https://halifax-kakuro.com/puzzle/
I'm a math professor in Halifax, and after my local newspaper dropped their daily Kakuro, I spent most of the summer making Kakuro puzzles. The hardest part was getting the levels right: making hard puzzles is easy, but making easy puzzles is much harder. I also made a web app for my puzzles. Please try it and let me know if anything is confusing or broken!

This is just a personal project; there are no ads, accounts, or tracking. Progress is kept in your browser, and once loaded, the app continues to work offline (it downloads a few dozen puzzles so that you don't run out for a while). It runs on phones, tablets and desktops, and can also be installed as an app from your browser. It works with a keyboard or with touch, and puzzles can be printed.

Some details that may interest people: I wrote a human-tactics simulator to estimate the difficulty of each puzzle: puzzles that can be solved by simpler tactics are rated to be easier. I used an evolutionary algorithm to generated the puzzles, and I wrote a separate grid generator to make sure the puzzles are nice looking (no lumpy grids). I ran the puzzle generator on a cluster with 200 cores, and it took a few weeks to get to a million puzzles. The app, assigns a puzzle to every calendar day past, present, and future, going back well before the big bang (try January 1, 14000000000 BC)! The assignment of puzzles to days is randomized, but there's a guaranteed minimum gap of 3758 years before any one puzzle repeats.

1 comments

    Loading..