You awaken in a cold, dark room with no memory of how you arrived. A faint light flickers above, casting eerie shadows on the cracked walls.
[[Explore the hallway|Hallway]]The hallway is lined with faded portraits whose eyes seem to follow you. There are doors leading to several areas of the estate.
* [[Enter the Library|Library]]
* [[Go to the Dining Room|DiningRoom]]
* [[Try the locked Study door|Study]]
* [[Descend to the Basement|Basement]]
<<if setup.hasItem("Shovel")>>
* [[Head to the overgrown Garden|Garden]]
<</if>>
<<if setup.hasItem("Ladder")>>
* [[Climb up to the Attic|Attic]]
<</if>>
Dusty bookshelves tower around you. One book is pulled slightly out, revealing a note:
* "The attic holds the truth. You'll need a ladder to reach it."
* [[Return to the hallway|Hallway]]
Basement
The air grows colder as you descend. A faint whisper echoes through the darkness.
<<if $shovelFound is undefined>>
<<set $shovelFound = false>>
<<set $searchCount = 0>>
<</if>>
<<if $shovelFound>>
<<if setup.hasItem("Shovel")>>
You already have the shovel.
<<else>>
<<button "Take the shovel">>
<<set setup.addItem("Shovel")>>
<<replace "#shovelAction">>
You take the shovel.
<</replace>>
<</button>>
<</if>>
<<else>>
<<button "Search">>
<<set $searchCount += 1>>
<<replace "#searchResult">>
You search the basement. <<if $searchCount >= 3>> After a thorough search, you find a rusted shovel leaning against the wall.
<<set $shovelFound = true>>
<<replace "#shovelAction">>
<<button "Take the shovel">>
<<set setup.addItem("Shovel")>>
<<replace "#shovelAction">> You take the shovel. <</replace>>
<</button>>
<</replace>>
<</if>>
<</replace>>
<</button>>
<div id="searchResult"></div>
<div id="shovelAction"></div>
<</if>>
* [[Return to the hallway|Hallway]]
You are in a dusty old room. There is a journal on the table... The tall figure, just watching you and not moving a muscle.
What do you want to do?
* [[Run away|RunAway]]
* [[Take the Journal|TakeJournal]]
* [[Confront the figure|TrickFigure]]You use the key to open the front door. Fresh air hits your face as you step outside. You're free... but the estate's secrets remain.
That's ending three! Thanks you for playing my short puzzle game,
(There are 3 endings in total)
* [[HERE|Intro]]
You emerge from the mansion, the weight of your experiences bearing down on you. As you take a deep breath of the fresh night air, you reflect on the challenges you faced and the choices you made. The horrors of the mansion still haunt your thoughts, but you know you have survived and grown stronger because of it.
The journey has been long and arduous, but you have made it through. Whether by cunning, bravery, or sheer luck, you have reached the end of this chapter.
What lies ahead is uncertain, but you now possess the strength and wisdom to face whatever comes next.The dining room is filled with cobwebs and broken furniture. A faint smell of decay lingers in the air.
On the table, you notice a dusty note:
* "The way to the Garden lies in the Basement."
* [[Return to the hallway|Hallway]]
The garden is overgrown and wild. You use the shovel to clear a path through the weeds.
<<if setup.hasItem("Shovel")>>
<div id="options">
There are three graves here. Choose one to dig:
<<button "Dig Grave 1">>
<<set $grave1Dug = true>>
<<replace "#digResult">>
<<if $grave1Dug is true>>
<<set $trapGrave1 = true>>
You fall into a huge hole! It's a trap!
oh no
<div id="deathMessage">
<h1>YOU HAVE DIED</h1>
<p>you can restart or load game from the menu</p>
</div>
<<replace "#options">><</replace>> <!-- This ensures all options disappear -->
<</if>>
<</replace>>
<</button>>
<<button "Dig Grave 2">>
<<set $grave2Dug = true>>
<<replace "#digResult">>
<<if $grave2Dug is true>>
<<set $trapGrave2 = true>>
You fall into a huge hole! It's a trap!
oh no
<div id="deathMessage">
<h1>YOU HAVE DIED</h1>
<p>you can restart or load game from the menu</p>
</div>
<<replace "#options">><</replace>> <!-- This ensures all options disappear -->
<</if>>
<</replace>>
<</button>>
<<button "Dig Grave 3">>
<<set $grave3Dug = true>>
<<replace "#digResult">>
<<if $grave3Dug is true>>
You dig up a hidden key buried in the soil.
<<set setup.addItem("Study Key")>>
<</if>>
<</replace>>
<</button>>
* [[Return to the hallway|Hallway]]
</div> <!-- Closing the options div to ensure it can be replaced -->
<div id="digResult"></div>
<</if>>
The Study door is locked.
<<if setup.hasItem("Study Key")>>
The key fits! You enter the room.
Inside, you find a ladder.
<<set setup.addItem("Ladder")>>
<</if>>
* [[Return to the hallway|Hallway]]
The attic ladder creaks as you climb up. Dust fills the air.
You find a journal with cryptic warnings about the estate's dark rituals.
[[Proceed to the Secret Chamber|Walk]]
You try to flee the estate, but the front door refuses to open. The air grows colder, and a voice whispers: "You cannot leave." Then everything goes black and you close your eyes...
That's ending one! Thanks you for playing my short puzzle game,
(There are 3 endings in total)
* [[HERE|Intro]]As you lie on the ground, the shadowy figure stands over you. Everything fades to black, and you realize this is the end...
That's ending two! Thanks you for playing my short puzzle game,
(There are 3 endings in total)
* [[HERE|Intro]]
THE DARK ATTIC!
Welcome, to my very first text-based adventure! This game is the result of countless hours of work, learning. I truly hope you enjoy the short journey ahead.
While the game itself is short and relatively simple, it's designed to offer you a glimpse into a world where your choices matter. As a beginner, I focused on creating an experience that is easy to navigate but still fun and engaging.
I must admit, there may still be a few rough edges—this is my first time making something like this after all! If you encounter any issues or have suggestions on how I can improve the game, please just go and leave a comment. I truly appreciate any advice or recommendations that will help me grow and improve as a game creator.
Now, it's time to begin. When you're ready, click the button below to wake up and start your journey.
[[Wake Up|Start]]
You pick up the journal, and suddenly a tall, shadowy figure appears in front of you!
What do you want to do?
* [[Fight the figure|FightFigure]]
* [[Run away|RunAway]]
Runing...
You try to run away towards the door, but it suddenly slams shut with a loud bang. You hear a chilling voice behind you say, "There is no escaping." The room grows colder as the figure's presence looms over you...
* [[Continue|LockedEnding1]]
You prepare to fight the figure, but it is too quick. The figure catches you before you can react and stabs you in the back. You feel a sharp pain as you fall to the ground. With your last breath, you accept your fate...
* [[Continue|LockedEnding2]]
You continue walking, and a figure appears straight ahead in the room. You know that you can't run away, you've been stuck here for so long...
With no other options, you continue walking straight ahead.
[[Proceed to the Secret Chamber|SecretChamber]]You decide to act friendly and engage the figure in conversation. As you distract it, you slowly back away towards the door. The figure seems to be intrigued by your approach and doesn't notice your subtle movements.
* [[Next|Next1]]
Now's your chance to run! He is not watching! You start running towards the Attic and then you hear a loud scream.
* [[Next|Next2]]
You don't even dare turn around and just keep running. As you go through the door for the hallway, you shut the door behind you.
* [[Next|Next3]]
You finally get to the kitchen and look around for something to defend yourself.
* [[Next|KitchenScene2]]
You finally get to the kitchen and look around for something to defend yourself. You need to find a weapon.
* [[Search|Search1]]You frantically search through the drawers, but find nothing there.
* [[Search again|Search2]]
You continue searching, but the drawers are empty.
* [[Search one more time|Search3]]
After what feels like an eternity, you finally find a knife hidden at the back of a drawer.
* [[Next|AttackFigure]]
You hide in the shadows, waiting for the figure to enter. As it steps into the kitchen, you spring forward, stabbing it in the back. The figure collapses, and you breathe a sigh of relief.
* [[Next|LockedEnding3]]