Third Game Assignment
The snippet can be accessed without any authentication.
Authored by
bjezewski2
This is the progress I've made on my solo game. There are a few bugs that I've yet to fix and as of right now, I've only made up the 'west' part of the basement complete. There's a simple puzzle mechanic where the player must first find the key to the black door before unlocking the door and going to the basement of the library. Also, I left a note for you on line 87 that I could use some help with - I think I do a decent enough job explaining myself there, especially if you run into the issue while going through the game initially. I think it's more of an issue with the map itself than it is with the code but nonetheless, I'd appreciate your thoughts on it if you can.
Jezewski_Solo_Game_Version1 13.43 KiB
"The Mysteries of Cottonwood" by Ben Jezewski
Use American dialect, brief room descriptions, and the serial comma.
When play begins:
say "You arrive at the entrance of the Cottonwood Gated Community. You've heard nothing but rumors about this place. From possible secret underground cryo-chambers, to the chance that the inhabitants of the neighborhood may be canibals. You're here to uncover the mystery about who really lives in Cottonwood and if the rumors about this place are true."
Chapter 1 - Arrival
The Front Entrance of Cottonwood is a room. The Front Entrance is south of The Cottonwood Community Center. The description is "The entrance of Cottonwood is guarded by tall gates that typically stay open throughout the day until sunset. You're met with a windy road leading North toward the community's central hub - otherwise known as the Cottonwood Community Center." Understand "entrance" as The Front Entrance of Cottonwood.
The Neighborhood Houses is a room. The Neighborhood Houses is east of The Front Entrance. The description is "Nothing seems to be particularly interesting about this road aside from the fact that all the houses on the street look eerily similar to one another."
The Front Gates is scenery in The Front Entrance of Cottonwood. The description is "Nothing is overly special about the front gates into Cottonwood. Just tall, black gates with a large 'CW' logo on the front." Understand "gates" and "front gates" as The Front Gates.
Part - Rules
Reading is an action applying to one thing. Understand "read [clue]" as Reading.
Check Reading: say "There's nothing for you to read here." instead.
Test basementtest with "go north / go northeast / examine gazebo / examine paper / take paper / read paper / look under bench / go southwest / go east / go south / unlock door with black key / down"
Part - Clues
The player has a number called score. The score of the player is 0.
A Clue is a kind of thing.
After taking a clue:
increase the score of the player by 1;
say "You found a clue. Your score is now [the score of the player]."
Section 1 - CWCC
The Cottonwood Community Center is a room north of The Front Entrance and west of the Cottonwood Library. The description is "You walk down the street to the North and find yourself at the center of the community center. Not to be confused with a single building, the Cottonwood Community Center is actually a wide-open circular space with shops and buildings lining the outside of the street. There is a park space to the Northeast in the center with a well-decorated gazebo and a shop's light flickers to the East. Although it's just shortly after sunset, there doesn't seem to be anyone around and the street is completely empty - almost like a ghost town."
Flickering Light is scenery in Cottonwood Community Center. The description is "Above the light you can read a sign that says, 'Cottonwood Library'. The light flickers and blinks off and on variously. It is the only light on in the entire Community Center." Understand "light" as Flickering Light.
The Street is scenery in the cottonwood community center. The description is "The road you arrived in on leads all the way around the park in the center. It's empty and eerily quiet." Understand "road" and "path" as The Street.
Shops is scenery in the cottonwood community center. The description is "Many shops can be seen along the street and lining the community center. You can't make out exactly what each one is, however you're confident you can see a grocery store, car repair shop, and a library - whose light seems to be flickering." Understand "buildings" and "stores" as Shops.
The Grocery Store is scenery in the cottonwood community center. The description is "There's a large parking lot to the side filled with empty shopping carts strewn about. The store's sign reads, 'Wellington's'. All the lights are off." Understand "store" as Grocery Store.
The Repair Shop is scenery in the cottonwood community center. The description is "Sitting right next to the presumed grocery store is a body shop with two garages that are locked and closed."
Cottonwood Central Park is a room. Cottonwood Central park is northeast of The Cottonwood Community Center. The description is "The park is empty and all quiet aside from the slight squeak of a swing swaying in the wind. You stand under the white-painted gazebo that looks out over the playground, park benches, and small fountain piece."
The Playground is scenery in Cottonwood Central Park. The description is "A small kid's playground stands near the center of the park. Looks like a fairly normal playground from you've seen before."
The Park Benches are scenery in Cottonwood Central Park. The description is "Several park benches are strewn throughout the park that you can see." Understand "benches" as The Park Benches.
The Swing is scenery in Cottonwood Central Park. The description is "The swing is old and rusty which explains the annoying squeak it makes when it sways in the wind."
The Gazebo is scenery in Cottonwood Central Park. The description is "You stand under the gazebo which is decorated with colorful flowers and new fencing. To your surprise, you look down at the bench ahead of you and see a crumpled up piece of paper."
The Fountain is scenery in Cottonwood Central Park. The description is "Surprisingly, the fountain is still running this late at night. There are small coins glistening through the water as the moonlight reflects off the water from above." Understand "fountain piece" as Fountain.
The Bench is a scenery supporter in Cottonwood Central Park. The description is "Just a simple park bench made of wood painted the same shade as the gazebo. Nothing much to it aside from the mysterious crumpled up piece of paper." Understand "park bench" as The Bench.
The Black Key is a thing. The description is "Just a black key. Nothing too spectacular about it." The Black Key can be found. The Black Key is not found.
Instead of looking under the Bench:
If the Black Key is found:
say "Nothing else is under here.";
Otherwise:
now the Black Key is found;
now the player carries the Black Key;
say "Looking under the bench like the note said seems to have paid off! You've found a black key."
A Piece of Paper is a Clue in Cottonwood Central Park. The piece of paper is undescribed. The description is "Just a crumpled up piece of paper. There looks to be some bit of writing on it."
Instead of reading the piece of paper:
say "You take the piece of paper and uncrumple it to reveal a hand-written message on it. It reads, [paragraph break] 'Dear Lisa, [paragraph break] I hope you are well. The basement is ready for your use whenever you'd like. I understand the hastle of such an event taking place and I bid you good luck in doing so. The basement key is under the park bench. [paragraph break] All the best, [paragraph break] Mrs. Wellington' [paragraph break] Underneath the writing is an address leading you to the East from the Community Center - that same building with the flickering light."
Section 2 - Cottonwood Library
The Cottonwood Library is a room. The Cottonwood Library is south of Cottonwood Central Park. The Cottonwood Library is east of The Cottonwood Community Center. The Cottonwood Library is north of the Black Door. The description is "You enter the Cottonwood Library and to your surprise, there is no one here. Dust swirls in the air and covers every material in store as though nothing has been touched in the place for years. Thin aisles of books line the entire store and light fades to darkness the further you look towards the back. There is a door to the south that catches your attention."
The Dust is scenery in Cottonwood Library. The description is "You could feel an immediate layer of dust stick to your skin the moment you entered the library. Even in the shades of darkness, you can make out the dust particles swirling around, wafting the aroma of old books and paper into your nostrils."
The Books is scenery in Cottonwood Library. The description is "Old books line all the shelves and are stacked in the corners of the store. It's too dark to make out what each of them say."
The Black Door is a door. The Black Door is south of Cottonwood Library and up of the Basement. The Black Door is closed. The Black Door is scenery. The description is "This door seems to be of some importance. It reaches all the way to the ceiling and looks as though it would take a lot of strength to muster it open or heave it closed." The Black Door is locked and lockable. The Black Key unlocks the Black Door.
[For some reason, the player is unable to go north of the black door to get back to the library. For instance, if the player went to the library first before gathering the key to the door, they would be met at the door unable to unlock it, thus they'd want to go north to the library, then west to the community center, then northeast to the park. But instead, when the player types 'n' to go north from the door back to the library, the game takes them to the park. I can't figure out why this would be happening.]
Instead of unlocking the Black Door with the Black Key:
say "You turn the key in the slot and slowly heave it open. At first you can't see much, but as you open it further, motion sensor lights reveal a long, dark staircase that looks to lead to a basement.";
now the Black Door is open.
now the Black Key is nowhere.
The Staircase is scenery in Cottonwood Library. The description is "The staircase looks ancient with creaky steps - some of which are rotting." Understand "stairs" as Staircase.
Chapter 2 - The Basement
The Basement is a room. The Basement is down of the Black Door. The Basement is down of the Cottonwood Library. The description is "You walk down the steps carefully. They creak beneath your feet as sweat builds on your brow. You're unsure of what you will find down here, but certain it can't be good. [paragraph break] When you reach the bottom of the staircase, a single ceiling light flutters on to reveal four pathways - one leading north, south, east, and west. Standing in the center of the room, you notice that it is completely unfinished with only wooden frames matted into the ground for walls and beyond them lay raw dirt. All the pathways are lit, almost inviting you to walk down one of them."
The Abandoned Jail is a room. The Abandoned Jail is west of the Basement. The Description is "You follow the path to the west and find it leads you to a small room with two single jail cells. One of them contains an ancient skeleton and the other is empty. There's also a small wooden desk right by the entrance of the room. The skeleton makes you feel uneasy." Understand "Jail" as the Abandoned Jail.
The Skeleton is a scenery person in the Jail. The description is "The skeleton stares at you blankly, its mouth hanging open. The assortment of bones sits against one of the bars of the cell with a rope lying next to its hands suggesting that the person was once tied up."
The Red Key is a thing. The Red Key is in the Jail. The Red Key can be found. The Red Key is not found. The Red Key is undescribed. The description is "It looks similar to the Black Key from before, but red."
[insert description for key, etc.]
The Cells is scenery in the Jail. The description is "The cells sit across from one another on either side of the room. They're small with only enough room for one person to live in. The bars are rusty and one has even fallen out of its support. One of the cells houses an ancient skeleton."
The Desk is a scenery supporter in the Jail. The description is "Looking at the desk, you notice a small, hand-written note left behind. There's nothing else that catches your eyes about it aside from the note."
The Note is a Clue on the desk in the Abandoned Jail. The Note is undescribed. The description is "A note lies lifelessly on the desk. There is what looks to be very old handwriting on it."
The Skeleton can be awakened or dormant. The Skeleton is dormant.
Instead of reading the Note for the first time:
say "The note on the desk reads, [paragraph break] 'Test #428 [paragraph break] Test subject 428 has responded well to treatments, however flesh decay is no better than previous trials. The man is still considered alive, but skin, nerves, and flesh continues to peel off. There is major improvement in many areas. [paragraph break] In previous trials, subjects would react poorly to Element 999. Symptoms included: Anger, aggression, desire to hurt themselves or other subjects, continuous hunger (although they could not eat with no stomach - this I believe only worsened their starvation altogether), and immense strength. However, Subject 428 - who is now held in Cell 2 of my chamber - shows none of these symptoms (and is the first subject to do so). [paragraph break] I will continue to report my findings to Mrs. Wellington as time progresses. [paragraph break] For now, I am very happy with the trials. [paragraph break] Dr. DeFoe[paragraph break]February 18 1973'";
now the Skeleton is awakened;
say "[paragraph break]After reading the note, you hear the crackling of bones behind you in the cell.";
now the description of the Skeleton is "Suddenly the skeleton in the cell behind you stands and appears to move as though they are stretching after a long slumber.[paragraph break]'What brings you here? Who are you?' The Skeleton asks. You stand frozen in fear, unknowing what to say."
Instead of reading the Note for the second time:
say "There's nothing new to read on the note." [fix]
Please register or sign in to comment