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?
President Project
by
Julianna Ricardo
Played 1,307 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
“Presidential Race!†by Anita Charis [ THIS GAME IS NOT COMPLETE] Include Basic IF Help by Andrew Plotkin. To say /p: say paragraph break. To say /l: say line break. To say r: say roman type. To say b: say bold type. To say i: say italic type. When play begins: say “So, you’ve decided to run for the prestigious title of President of the United States? Well, things aren’t going to be easy for you. Hopefully you can wow enough citizens to win the Presidency![/p][b]If you've never played a game like this before, go ahead and type 'help' or 'ask Anita about basics.'[r]†[ ROOMS ] The Campaign Office is a room. "[if the Campaign Office is unvisited]You've visited this place many times in the past months. Almost [i]too[r] many, it seems. But then again, if you're going to become President, you're going to need to work a lot![/p]The office is not too large and not too small. It's been kept surprisingly clean. There are large bookshelves lining the walls that are overstuffed with large books. There is a window opposite the door, just behind the large desk, that lets in some warm light.[/p]The door is on the south side of the room.[/p]Anita, your campaign adviser, hurries into the room, lots of papers in her arms. She looks up at you, surprised.[/p]'Oh, you're here!' She says, dropping her papers on the desk with a loud [i]thump[r]. 'That's excellent! We have a meeting with one of your supporters later, and then we have a debate.'[end if][if the Campaign Office has been visited]A not-too-large, not-too-small office that has been kept surprisingly clean. There are large bookshelves lining the walls that are overstuffed with large books. There is a window opposite the door, just behind the large desk, that lets in some warm light." The Coffee Shop is a room. "[if the Coffee Shop is unvisited]As you step in, the smell of coffee beans fills the air. Anita is right in front of you, scanning the room. [/p]‘He’s here.’ She says softly, nodding her head in the direction of a man. ‘Go ahead and sit down, I’ll bring coffee in a bit. Just [b]look in your notebook[r] - all the information you need is there.’[/p]The both of you shake hands and exchange pleasantries. You then sit down across from the man and smile politely.[/p]’So,’ he says, gesturing outwards. ‘win me over. Convince me.’[end if][if the Coffee Shop has been visited]As you step in, the smell of coffee beans fills the air. It's a cozy coffee shop, isn't it?" The Coffee Shop is south of the Campaign Office. [ STUFF ] The desk is in the Campaign Office. The description of the desk is “A fine desk, made of some fancy wood or another. It has stuff strewn all over it.†The notebook is a thing. The description of the notebook is “Your trusty campaign notebook. It's well-used and full of notes on various important topics.†Instead of examining the desk for the first time: move the notebook to the Campaign Office; say "A fine desk, made of some fancy wood or another. It has stuff strewn all over it, including a notebook of campaign details. You really should grab that." [ ANITA ] Anita is a woman. Anita is in the Campaign Office. The description of Anita is "A very stressed-out woman. Maybe campaign adviser wasn't the best job for her, really. However, she knows everything you might need to know to become president and win the game, so she's great to have around." Every turn: if the location of Anita is not the location of the player: now Anita is in the location of the player; Instead of asking Anita about a topic listed in the table of Anita's replies, say "[/p][Response entry][r][/p]". Instead of asking Anita about [the noun]: say "Anita smiles apologetically. 'Sorry, I didn't code a reply for that. If you're stuck on something and can't get help, find the real me and ask her, okay?'" [ Instead of asking Anita about “coffeeâ€: if Anita is in the Campaign Room; say “Just go south, out of the door, and I'll take you there.' Anita says with a grin. 'And if you want to come back, just leave the coffee shop through the north door.'â€; If in the Coffee Shop; say “Anita gives you a look. 'It's coming!' She says grouchily." ] [ ANITA'S REPLIES ] Table of Anita's replies Topic Response "moving" "Anita nods. 'Just type a direction, like north, south, east, or west, into the parser.' she explains, flicking some hair over her shoulder. 'Oh, the parser is the little '>' thing, by the way.' She adds sheepishly." "controls" "Anita grins. 'To learn the basic controls, just type 'help' into the parser, or '>' thing. That will launch a tutorial for you to use.' She pushes her glasses up her nose absent-mindedly. 'Or you can ask me specifics, like common abbreviations.'" "abbreviations" "'Okay, so there are some common abbreviations all text-based adventure games recognize, and others that the game designer has to code into the game.' Anita begins. 'Instead of typing the compass directions, you can type in n, s, e, or w. If you want to look at something, just type x and the thing you want to look at. Here, try it on me!'" "abbrevs" "Anita grins. 'Good use of abbreviations, you're on the right track.' She says. 'Now, there are some common abbreviations all text-based adventure games recognize, and others that the game designer has to code into the game.' she explains. 'Instead of typing the compass directions, you can type in n, s, e, or w. If you want to look at something, just type x and the thing you want to look at. Here, try it on me!'" "basics" "Anita smiles at you encouragingly. 'Okay, so you're playing what's often called a text-based adventure or interactive fiction. To play, you type a verb into the parser (that's the little '>' thing, by the way), and hit enter. If it's a verb the game has been told to recognize, it will do something in response. If the game doesn't recognize it, then it will give you an error message.' Anita nods a little. 'You can also add nouns to say things like 'unlock door with key', but don't make your sentences too fancy or the parser won't recognize it! Go ahead and type in 'HELP' if you're still confused.' She lets out a long breath at the end of that speech." "cheat code" "Anita lets out a loud laugh. 'Nice observation.' She hums. 'If you don't have the notebook yet, get it. Then look at page 30. You're welcome.'" "requirements" "She frowns at you. 'What, you didn't know? In order to become the President, you have to be over 35 years old and be a natural-born citizen.'" “natural-born citizen†“Anita stares for a moment. ‘...a natural-born citizen is a citizen of the United States that was born here.’ She says.†“natural citizen†“Anita stares for a moment. ‘...a natural-born citizen is a citizen of the United States that was born here.’ She says.†“citizen†“Anita sighs. ‘add a definition later, real me.’†"meetup" "Anita nods. 'One of your most important possible supporters wants to meet up with you at the coffee shop.' She checks her phone briefly. 'We're going to meet up at the coffee shop as soon as you're ready.'" "meeting" "Anita nods. 'One of your most important possible supporters wants to meet up with you at the coffee shop.' She checks her phone briefly. 'We're going to meet up at the coffee shop as soon as you're ready.'" "supporter" "Anita cringes. 'Well, he's not your supporter just yet.' She admits sadly. 'But I know you can do it!' She adds optimistically, perking up." "coffee shop" "'Just go south, out of the door, and I'll take you there.' Anita says with a grin. 'And if you want to come back, just leave the coffee shop through the north door." "notebook" “'You've lost it again?' Anita wails. She [i]really[r] needs a break. 'Well, try the desk in your office - it's probably there.'" [ BOB/THE SUPPORTER ] A person has a number called a ang-level. A person has a number called hap-level. Bob is a man. Bob is in the Coffee Shop. The description of Bob is "add". The ang-level of Bob is 0. The hap-level of Bob is 0. Understand "supporter" as Bob. Instead of asking Bob about a topic listed in the table of Bob’s replies, say "[/p][Response entry][r][/p]". Instead of asking Bob about [the noun]: say "The man looks at you quizzically. 'I don’t understand that question. Maybe try again with a different word?'" Table of Bob’s replies Topic Response “Opinions†“‘That’s why I’m here.’ He says with a nod. ‘To learn about your political platform.’†"Platform" “He gives you an odd look. 'What stances you have on issues.' He explains. 'If your stances match mine, I'll support you.'" “Coffee†“As soon as you begin to mention it, Anita arrives with the coffee. ‘Sorry for the wait, gentlemen.’“ [ THINGS TO TALK TO BOB ABOUT ] Instead of asking Bob about "peace": if said-score of bleb is 0: say “The man smiles. ‘That’s right!’ He says happily.â€; increase hap-level by one; increase said-score of bleb by 1; otherwise: say "The man nods. 'You've said that, and I agree.'" Instead of asking Bob about "save criminals": if said-score of boop is 0: say “The man smiles. ‘That’s right!’ He says happily.â€; increase hap-level by one; increase said-score of boop by 1; otherwise: say "The man nods. 'You've said that, and I agree.'" Instead of asking Bob about "end death penalty": if said-score of boop is 0: say “The man smiles. ‘That’s right!’ He says happily.â€; increase hap-level by two; increase said-score of boop by 1; otherwise: say "The man nods. 'You've said that, and I agree.'" Instead of asking Bob about "less guns": if said-score of monty is 0: say “The man smiles. ‘That’s right!’ He says happily.â€; increase hap-level by one; increase said-score of monty by 1; otherwise: say "The man nods. 'You've said that, and I agree.'" Instead of asking Bob about "Environment": if said-score of sux is 0: say “The man smiles. ‘That’s right!’ He says happily.â€; increase hap-level by one; increase said-score of sux by 1; otherwise: say "The man nods. 'You've said that, and I agree.'" Instead of asking Bob about "fighting": if said-score of bib is 0: say “The man frowns. ‘No.’ Is all he says in reply.â€; increase ang-level by one; increase said-score of bib by one; otherwise: say "The man looked mad when you said that last time, so you choose to keep your mouth shut instead."; Instead of asking Bob about "killing criminals": if said-score of krang is 0: say “The man clearly becomes very angry. ‘No.’ Is all he says, his voice shaking with repressed rage.â€; increase ang-level by two; increase said-score of krang by one; otherwise: say "The man looked [i]really really [r]mad when you said that last time, so you choose to keep your mouth shut instead."; Instead of asking Bob about "more oil": if said-score of python is 0: say “The man frowns. ‘No.’ Is all he says in reply.â€; increase ang-level by one; increase said-score of python by one; otherwise: say "The man looked mad when you said that last time, so you choose to keep your mouth shut instead."; Instead of asking Bob about "more guns": if said-score of sib is 0: say “The man frowns. ‘No.’ Is all he says in reply.â€; increase ang-level by one; increase said-score of sib by one; otherwise: say "The man looked mad when you said that last time, so you choose to keep your mouth shut instead."; [ SAID SCORE ] A thing has a number called a said-score. Bleb has said-score 0. Bib has said-score 0. Boop has said-score 0. Krang has said-score 0. Sob has said-score 0. Monty has said-score 0. Python has said-score 0. Sux has said-score 0. Sib has said-score 0. [ table to keep track: Name Thing Bleb Peace Bib Fighting Boop Abolish Death penalty Krang Killing Criminals Sib More Oil Sux Environment Monty less guns Python more guns ] [ TURN CHECKS ] Every turn: if ang-level of Bob is 4: say “a thingâ€; end the game saying "You have lost the support of Bob. Now you'll never be President!"; if hap-level of Bob is 4: say "The man smiles. ‘Clearly, we get along.’ He says warmly. ‘I’ll be glad to support you.’[paragraph break]You chat a while longer about various vapid things, then he leaves. Anita looks like she’s ready to have a heart attack in shock."; remove Bob from play; if score is 20: say “another thingâ€; end the game in victory; [ THE NOTEBOOK ] The notebook has a number called the last page read. The notebook has a number called the length. The length of the notebook is 50. Understand the command "read" as something new. Understand "read [something]" or "consult [something]" or "read in/from [something]" as reading. Reading is an action applying to one thing, requiring light. Understand "read [number] in/from/of [something]" or "read page [number] in/from/of [something]" or "look up page [number] in/from/of [something]" or "consult page [number] in/from/of [something]" as reading it in. Reading it in is an action applying to one number and one thing, requiring light. Named page is a kind of value. The named pages are first page, last page, next page, previous page. To decide what number is the effective value of (L - last page): decide on the length of the notebook. To decide what number is the effective value of (F - first page): decide on 1. To decide what number is the effective value of (N - next page): let X be the last page read of the notebook plus 1; decide on X. To decide what number is the effective value of (P - previous page): let X be the last page read of the notebook minus 1; decide on X. Understand "read [named page] in/from/of [something]" or "read the [named page] in/from/of [something]" as reading it relatively in. Reading it relatively in is an action applying to one named page and one thing, requiring light. Does the player mean reading something in the notebook: it is very likely. This is the book requirement rule: if the player is not carrying the notebook, say "You're not reading anything that you can read from." instead. Check reading it relatively in: if the second noun is not the notebook, say "There are no pages in [the second noun]." instead; abide by the book requirement rule. Carry out reading it relatively in: let N be the effective value of the named page understood; now the number understood is N; try reading N in the notebook. Check reading it in: if the second noun is not the notebook, say "There are no pages in [the second noun]." instead; abide by the book requirement rule. Check reading it in: if the number understood is greater than the length of the notebook, say "There are only [length of notebook in words] pages in the book." instead; if the number understood is less than 1, say "The page numbering begins with 1." instead. Carry out reading it in: read page number understood. Check reading: if the noun is not the notebook, say "There are no pages in [the noun]." instead; abide by the book requirement rule. Carry out reading: let N be a random number between 1 and the length of the notebook; now the number understood is N; say "You flip the pages randomly and arrive at page [the number understood]:[paragraph break]"; try reading the number understood in the notebook. [ NOTEBOOK CONTENTS ] Table of Book Contents Page content 1 "In Anita's big, messy handwriting it reads: 'SUPPORTER YOU'RE MEETING:[paragraph break]Name: He says it's Bob. The guy is a little strange.[paragraph break]Political Stance: Democrat.[paragraph break]Big Issues for him: peace, abolishing the death penalty(!!!IMPORTANT!!!), the environment, gun control, and welfare.’ [paragraph break]Towards the bottom of the page, in tiny print, it says, ‘If you’re having trouble asking him questions, check page 2.'" 2 “Try these when talking to Bob: Peace/Fighting/Abolish Death penalty/Killing Criminals/More Oil/Environment/less guns/more guns†3 “There is a bunch of doodles of a crying woman...is that supposed to resemble Anita??†30 “Verbs are picky. Humor me, I haven’t slept in ages...but make sure you take the notebook! It’s a lifesaver.†To read page (N - a number): now the last page read of the notebook is N; if there is a content corresponding to a page of N in the Table of Book Contents: choose row with a page of N in the Table of Book Contents; say "You read: '[content entry]'[paragraph break]"; otherwise: say "Page [N] appears to still be blank. It probably won’t be for long."