Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Make Me a Sandwich
by
Alisha Karabinus
Played 1,343 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Make Me a Sandwich— A Classroom Tool by Alisha Karabinus and Ashley J. Velázquez (testing version)†Use American dialect. Include Postures by Emily Short. The description of the player is “You’re dressed for a normal Saturday. What did you expect?†The player is on the couch. The carrying capacity of the player is 8. The Living Room is east of the Kitchen. "[if the Living Room is unvisited]Here you are, sitting in the living room, thinking about food. Not just any food, though, certainly not. More than anything, you want a sandwich. A peanut butter and jelly sandwich. Nothing else will do. You must have it. To the north is a hallway, to the south, the front door; the kitchen lies to the west, and in there, surely you've got everything you need to construct the perfect sandwich.[end if]" The Living Room contains a lamp, a game console, a couch, a TV, and a chair. Understand “television†as TV. Understand “light†as lamp. Understand “sofa†as couch. Understand “Xbox†as game console. Understand “playstation†as game console. Understand “WiiU†as game console. The chair and couch are enterable supporters. The game console, TV, and lamp are scenery. Instead of going while seated: say "You should probably stand up first." The description of the TV is “The TV is a 50 inch flat screen that you most often use to play video games on and Netflix and chill. Unfortunately, you got mad one day and threw your gaming controller right through the middle of it.†The description of the couch is “Your friend gave you one of their old couches, and it kind of smells like a cat, but it’s comfortable and gets the job done.†The description of the game console is “You saved up for almost year to buy this thing and you love it more than is humanly possible.†The description of the lamp is “It’s a lamp. For light. What else do you need to know?†The description of the the chair is “You found this lonely recliner on someone’s curb a few months ago.†Instead of going north: say “Don’t you need to make a sandwich? Do you make sandwiches in the hallway?†Instead of going south: say “Do you think you’ll find a sandwich in the yard? Perhaps you should try the kitchen.†The Kitchen is west of the Living Room. "You step into the kitchen, a familiar place equipped with the usual basics: refrigerator, stove, oven, pantry, countertop, cabinet for dishes, and a drawer for tools. The counters are clean and organized; all the food is tucked away into the fridge and cabinets. Everything you need to make a sandwich is in here somewhere. The living room lies to the east." The Kitchen contains a refrigerator, stove, oven, pantry, counters, a cabinet for dishes, and a utensil drawer. The description of the refrigerator is "A tall, stainless steel refrigerator with double doors.†The refrigerator is a closed openable container. The refrigerator is fixed in place. In the refrigerator is a jar of jelly, cheese, bacon, mayo, and mustard. Understand “fridge†as refrigerator. The freezer is part of the fridge. The freezer is a closed openable container. The description of the freezer is "It's a freezer, full of things you don't need in order to make a sandwich." Instead of opening the freezer: say "Do you keep jelly in there?" The description of the jar of jelly is "It is a jar of jelly. The label is peeling in one corner." The jelly is a closed openable container. The jelly is edible. Understand "jam" as jelly. Understand "jelly" as a jar of jelly. The description of the mayo is "It is a plastic jar of mayonnaise." The mayo is a closed openable container. The mayo is edible. Understand “mayonnaise†as mayo. The description of the cheese is "This is an unopened block of cheese.†The cheese is edible. The cheese is a closed openable container. The description of the mustard is "A yellow squeeze bottle of mustard." The mustard is edible. The mustard is a closed openable container. Instead of eating mustard: say “No, that sounds like a terrible idea.†Instead of eating cheese: say “Maybe later.†Instead of eating mayo: say “What, just right out of the jar? Are you serious?†The description of the bacon is “This is an unopened package of bacon." The bacon is a closed openable container. The bacon is edible. Instead of eating bacon: say “But that’s raw, and anyway, do you really want to mess with that right now? Making a sandwich is so much faster.†The description of the utensil drawer is “The top drawer next to the sink is the utensil drawer. You can see knives, forks, and spoons here, along with a spatula.†The drawer is a closed openable container. In the drawer is knives, forks, spoons, a spatula. Understand “butter knife†as knife. Understand “drawer†as utensil drawer. Understand “top drawer†as drawer. Understand “drawers†as drawer. Understand “knife†as knives. Understand “spoon†as spoons. Understand “fork†as forks. The knife is a thing. The description of the knife is “A dull knife with a stainless steel handle. Perfect for spreading peanut butter.†The fork is a thing. The description of the fork is “A four-tined fork.†The spoon is a thing. The description of the spoon is “A small stainless steel spoon.†The spatula is a thing. The description of the spatula is “A stainless steel spatula.†The description of the cabinet is “The wooden cabinet has double doors.†The cabinet is a closed openable container. The cabinet is fixed in place. In the cabinet is a plate, some bowls. Understand "bowl" as some bowls. The description of the pantry is “The pantry door is flimsy, with a loose handle no one ever bothers to fix. This is where dry goods are stored. You can see cereal, hazelnut spread, a breadbox, and peanut butter here.†The pantry is a closed openable container. In the pantry is peanut butter, cereal, a breadbox, hazelnut spread. The description of the peanut butter is “A jar of peanut butter, mostly full.†Understand “pb†as peanut butter. Understand “butter†as peanut butter. The peanut butter is a closed openable container. The peanut butter is edible. The breadbox is a closed container in the pantry. The description of the breadbox is “An old fashioned breadbox. There should be bread inside.†The breadbox is portable and openable. The loaf of bread is in the breadbox. Instead of eating the loaf of bread: say "You could just eat the bread by itself, but it would be a little dry.†A loaf of bread is inside the breadbox. The loaf of bread is edible. Understand “slice†as bread. Understand “slice of bread†as bread. Understand “bread slice†as bread. Understand "bread" as loaf of bread. The bread can be jellied or unjellied. The bread is unjellied. The bread can be buttered or unbuttered. The bread is unbuttered. The description of the cereal is “A box of bran flakes.†The cereal is a closed openable container. The cereal is edible. Understand “bran flakes†as cereal. Instead of eating the cereal: say “Is that really what you want right now?†The description of the hazelnut spread is “A small jar of chocolate and hazelnut spread.†The hazelnut spread is a closed openable container. The hazelnut spread is edible. Understand “Nutella†as hazelnut spread. Instead of spreading hazelnut spread: say “That goes well with peanut butter, but not so well with jelly. Maybe next time.†Instead of eating hazelnut spread: say “Maybe later.†A counter is a supporter in the kitchen. The counter is fixed in place. The plate is a supporter and not fixed in place. The description of the plate is “A round ceramic plate with a faint pattern of flowers.†The description of the bowl is “A deep ceramic bowl, great for soup or cereal.†The sandwich is a thing. The printed name of the sandwich is "peanut butter and jelly sandwich". Understand "pbj" or "peanut butter and jelly sandwich" or "pb&j" or “PBnJ†as sandwich. Instead of eating the sandwich: say "The sandwich is just as good as you knew it would be."; end the story. Instead of eating the jelly, say "This jelly is a little sweet to eat by itself.†Instead of eating peanut butter, say "That’s a bit messy, don’t you think? Maybe you should just put it on some bread." Spreading is an action applying to two things. Understand "spread [something] on [something]" as spreading. [Carry out spreading: say "You really want to do that?"] Check spreading: if the noun is jelly and the second noun is bread: if the player does not have knives: say "[one of]Are you using your finger here? Get a utensil.[or]Maybe you should get a knife or something.[stopping]â€; stop the action; if the plate is not on the counter or the loaf of bread is not on the plate: say "What, in mid air? Maybe you should use a plate."; stop the action; if the noun is jelly and the second noun is bread: say "Mmm, jelly on bread is the best!"; increase the score by 5; otherwise if the noun is butter and the second noun is bread: say "Oh, that looks tasty."; now the bread is buttered; increase the score by 5; move sandwich to player; stop the action; if the bread is jellied: say "Sandwich complete. Are you just going to look at it?"; now the bread is off-stage; move sandwich to player; stop the action; otherwise if the noun is jelly and the second noun is counter: say "Why would you do that? Don't be messy."; stop the action. The maximum score is 10. Every turn: if the score is greater than 9, end the story finally.