5 points invalidmonk 1 hour ago 5 comments

invalidmonk 1 hour ago | parent

Hi HN! I built Foldlet, a Wordle-style daily puzzle about folding space.

It was inspired by The Three-Body Problem series, particularly Death's End. Will leave it at that as to not spoil. IYKYK!

The gist of the game is that you are a little astronaut stuck in a multidimensional puzzle trying to move to the "exit" (a spinning tesseract). In order to reach the exit, you must change the dimensionality of the puzzle which unlocks and unblocks new moves.

The thing I'm most excited to share is the level designer: A frontier model and a hill-climbing algo author multiple puzzles every day (increasing in difficulty from Monday to Sunday) using a set of qualifying rules 1. It must be solvable (BFS solver) 2. Min par of 6 moves 3. At least one dimension fold

Then, the generated puzzle is then run by a panel of simulated-graders that imitate real world personas from a competitive programmer to a 70-year old grandparent (varying demographic, level of education, field/trade).

Each grader tries to solve the puzzle and their individual solves are given a difficulty = 20 × log2(total moves ÷ par). I think log-scale is right as it maps to relative "pain" in solving a puzzle. Effectively, every doubling of effort adds 20 points in this regime.

The final score is a weighted average of how common that persona is in the real world (US data), not a strict average.

Finally all of this data is fed to an advisory reviewer LLM that gives the final stamp of approval.

This (tragically over engineered system) has led to some interesting (and fairly consistent) results. I'm not the best at solving the puzzles, and many friends told me last Sunday's was too hard (only 5 of 25 players finished it)! Yet it only scored a 70/100 in difficulty!

Hope you enjoy it, and share your solves to X :-) Feedback more than welcome.

https://x.com/raymondjacobson/status/2123099344035602653

Artistic inspiration from fez / monument valley, C418 for music, and shoutout eleven labs for incredible SFX generation.

website: foldlet.net ios: https://apps.apple.com/us/app/foldlet-daily-puzzle-game/id68... android: https://play.google.com/store/apps/details?id=net.foldlet.ap...

abetusk 35 minutes ago | parent

Very nice game and thank you for the description. Level design is surprisingly hard and I'm not sure your method is over engineered.

Would you mind going into more detail about how the base level is generated, before it's handed off to the solvers and simulated players?

invalidmonk 37 minutes ago | parent

PS if today's puzzle is tricky, you can play monday & tuesday of this week for free as well!

emilywhou 37 minutes ago | parent

Took me a bit to figure out how the dimensions work but once I did, I really enjoyed it! Love the music and sound effects especially. How did you make those?

invalidmonk 35 minutes ago | parent

A lot of credits on https://elevenlabs.io/, the GOAT!