[RPG] How to turn a B*-tree into a puzzle

adventure-writingars-magica-5puzzle

My players, being quite terrified of the consequences of injury (less research time), have asked me for a series of magical puzzles for their next adventure. I have decided that, roughly, it will follow a 5-room adventure format.

The first puzzle entails word puzzles, and the third will entail complicated truth tables. I want the second puzzle, however, to be the exploration from the inside of a b*tree, normally used in database indexes.

Functionally it is a logical tree structure that rebalances on new inserts. While intuiting its rules will make a fine puzzle, I'm missing one piece:

What is an acceptable goal for a puzzle involving a b*tree, and how would you frame this goal?

For example:

[You] 4 magi walk into a giant cave, floored with clouds. (The more fantastic the better). There are golden platforms, flowing in, that seem to be linked with fine silver threads and tiny copper needles attaching them to other platforms. There is a barred gate on the other end of the clouded cave. There is an air of unfulfilled potential here.

… which does nothing to explore the parameters of the puzzle or articulate the central challenge.

Alternatively:

There is a mound of numbered tablets and a giant wormy tube in front of them. As they walk through the tube with a tablet, the tube squirms around to point to a different nodule with stand for a tablet.

Best Answer

You walk into a giant cave, floored with clouds. There is a single golden platform, floating in the sky near the precipice you stand on, like a boat docked on the shore. Engraved on it is the arcane rune XIII. A short distance further you see your destination: another platform extending out into the clouds.

p1

The platform is large enough for all of you and supports your weight. On it you find nearly two dozen glass bottles, each appears to hold in it a cloud, and each bears a different arcane rune, I-XI. XIII is notable absent. Upon unstoppering the last bottle, a cloud in the shape of the rune appears, and a fine silver thread attaches it to the golden platform which begins to shift. Upon opening another, "XIV", it too has a similar effect. You wait for the room to stop shifting.

p2

Unfortunately you're further from your goal, and only the golden platform XIII can support your weight. Placing the stoppers back on the bottles, however, sucks their ethereal clouds back in, leaving the room once again how you found it. You have an idea, though, and upon unstoppering bottles "I" and "II", you've made it slightly closer to the other side.

p3

After just two more opened bottles, the platform on which you stand has gotten close enough to the stone pier for you to safely jump across.

p4

You continue on your epic quest, more glad than ever that you decided not to study computer science...