The Beach Mystery has four distinct endings, each one unlocking a different facet of the beach’s secret. Which ending you reach depends entirely on the choices you make at the story’s three key decision points: whether to open the chest, whether to follow the map, and which path to take inside the cave. Discovered endings are permanently recorded as achievements in your browser’sDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/the-beach-mystery/llms.txt
Use this file to discover all available pages before exploring further.
localStorage, so the Endings page in the app tracks exactly which mysteries you have uncovered across all your playthroughs.
The Four Endings
🏝️ The Island's Secret (islandTreasure)
🏝️ The Island's Secret (islandTreasure)
How to Reach It
This is the only ending that requires solving a riddle. It is reachable via a single path.Storyline 1 — The Island Adventurer:- Open Chest → Yes
- Follow Map → Yes
- Solve Riddle → echo
hasMap: true, hasJewel: trueWhat Happens
You rent a small boat from the beach dock and sail toward the island drawn in faded ink on the map. The crossing is rough — waves slap the hull, spray stings your face, and a bank of mist briefly swallows the island entirely. When the mist thins, a green island rises exactly where the map promised.You beach the boat and find two silent guards at the start of a narrow path. The first confirms that only the one holding the map may pass. The second steps forward with a riddle: “I speak without a mouth and hear without ears. I have no body, but I come alive with the wind. What am I?” When you answer echo, both guards smile. The man with the key unlocks a vine-covered gate and steps aside.The trail winds through ferns taller than your shoulders, past three carved stones and a shallow stream, until it ends in a sunlit clearing. A huge gnarled oak stands at the center — the same tree drawn beside the X on the map. A beam of sunlight falls through its branches onto a mound of old coins and golden objects nestled between the roots.Beside the treasure, your favorite animal sleeps peacefully in the warm grass. Around its neck is a small tag bearing the same symbol as your jewel. The animal wakes, looks at you without fear, and nudges a wooden box from under one root. Inside is a note: the treasure belongs to whoever reaches the island with courage, wisdom, and respect.You take only a single gold coin as proof of your journey. When you leave, the guardian watches from beneath the oak, and the hidden island fades into the mist behind your boat. Back on the beach, the coin and the jewel are still warm in your hand.This ending is the only one that makes the island’s connection to the jewel explicit — the guardian on the island wears the same symbol as the one found on the stone door in the cave and above the den guardian’s bed.
💎 The Hidden Treasure Chamber (hiddenChamber)
💎 The Hidden Treasure Chamber (hiddenChamber)
🐾 The Guardian's Den (animalDen)
🐾 The Guardian's Den (animalDen)
How to Reach It
This ending is reachable via two storylines — one with the jewel, one without.Storyline 3 — The Guardian’s Friend (with jewel):- Open Chest → Yes
- Follow Map → No
- Enter Cave → Yes
- Path → Right
- Open Chest → No
- Enter Cave → Yes
- Path → Right
What Happens — With the Jewel (Storyline 3)
Your jewel lights the way through the dark until you reach the fork. You take the right passage. The sound of breathing grows clearer, but it is slow and peaceful — not threatening.The tunnel opens into a cozy den lined with dry grass, shells, and bits of sea glass. Curled at the center is your favorite animal. The same symbol marked on your jewel glows faintly above its bed. The animal wakes and watches you. When you place the jewel on the ground to show that you mean no harm, it gently pushes the stone back toward you.Then the guardian leads you to a hidden opening in the cave wall overlooking the open sea. From there, you can clearly see the distant island drawn on the map. You understand: this creature is not trapped here. It is a guardian watching over both the cave and the island. After a quiet moment beside the sea-facing opening, the guardian leads you safely outside. You leave with the jewel, a new friend, and the feeling that the beach’s mysteries have only just begun.What Happens — Without the Jewel (Storyline 6)
A line of pale shells guides you to the fork. You choose the right passage. The breathing beyond the bend is calm, and when the tunnel opens into the den, the animal opens one eye, studies you, and seems to decide you are no danger.Rather than moving closer, you sit quietly at the edge of the den. After a moment, the animal rises and leads you through a side tunnel to a hidden opening above the ocean. Fresh air and sunlight pour inside. The animal wears a small tag shaped exactly like a treasure map.You realize the cave has a guardian and that the buried chest may be one part of a much larger secret. The guardian shows you a safe path back to the shore. You leave without gold or jewels — but with a discovery far rarer than either.🌅 The Peaceful Shore (peacefulWalk)
🌅 The Peaceful Shore (peacefulWalk)
How to Reach It
This ending is reachable via two storylines — one where you opened the chest and one where you did not.Storyline 4 — The Jewel Keeper (with jewel):- Open Chest → Yes
- Follow Map → No
- Enter Cave → No
- Open Chest → No
- Enter Cave → No
What Happens — With the Jewel (Storyline 4)
You opened the chest, pocketed the jewel, and decided not to follow the map. When you reach the cave, the darkness beyond the entrance feels too uncertain, and you decide not to enter. Your fingers close around the smooth jewel as you continue along the shore.By the time you turn back, the sky has become a wash of orange, pink, and violet. The tide has erased your earlier footprints, leaving the beach quiet and new. You make a quiet promise to keep the jewel safe and return when you are ready to learn how the chest, the cave, and the distant island are connected. You head home beneath the first evening stars, carrying one beautiful piece of the mystery with you.What Happens — Without the Jewel (Storyline 7)
You left the chest buried and decided the cave was too dark to explore safely without a light. You spend the rest of the afternoon collecting shells, watching seabirds dive, and listening to waves echo faintly inside the cliff.At sunset, you pass the very place where the old chest is still hidden beneath the sand. You leave it undisturbed — a mystery does not have to be solved the moment it is found. On the walk home, you think about the chest and the cave and wonder whether they might be connected. It was still a very good walk — and perhaps the beginning of another adventure, whenever you decide to return.The Peaceful Shore is the only ending where the beach itself becomes the final scene. Both variations end at the
beach-sunset gallery scene — the tide coming in, the sky changing color, the mystery intact.The Achievements System
The game automatically tracks which endings you have discovered across all playthroughs. Achievements are stored in your browser and persist between sessions.Storage
Discovered ending IDs are saved inlocalStorage under the key beach-mystery-achievements as a JSON array of ending ID strings. For example, a player who has found three of the four endings would have:
id fields in the source data: islandTreasure, hiddenChamber, animalDen, and peacefulWalk.
The Endings Page
The Endings page (accessible at the/endings route in the app) gives you a full view of your progress. At the top of the page, a progress ring displays X of 4 Discovered — updating automatically as you unlock new endings through play.
Each of the four ending cards on that page behaves differently depending on whether you have discovered it:
- Undiscovered endings show a 🔒 lock overlay. The ending name and icon are visible, but the description and path information are hidden until you find the ending in play.
- Discovered endings unlock the full card: the ending name, icon, complete description, and the list of storylines that lead to it are all revealed.
Ending Cards and Storyline Links
Each discovered ending card on the/endings page also shows which storylines lead to it, so you can see at a glance which paths you have already walked and which variations remain. The Storylines page provides the full path details for every named storyline.
All Seven Storylines
See every named path through the story with exact choice sequences and the ending each one leads to.
Story Overview
Read the full narrative breakdown — story beats, gallery scenes, and the connections between the chest, cave, and island.