Category Archives: Fold – Alpha Prototype Code

Fold Game Alpha code.

import time

print(“______________________________________________________________”)

print(” FOLD THE GAME…….”)

print(” Would you like to play?”)

print(“————————————————————–“)
startgame = input(“Yes or No?”)
while(startgame != “Yes” or startgame != “yes” or startgame != “No” or startgame != “no”):
if(startgame == “No” or startgame == “no”):
print(“Welp……have you tried Resurface or Don’t Open The Box or Crystal Orb?”)
time.sleep(15)
quit()
elif(startgame == “Yes” or startgame == “yes”):
print(“Then let’s begin the tale of a young man named Dylan……..”)
break
else:
startgame = input(“Try again. Yes or No?”)

print(“””\nIt was another peaceful day in the beautiful land of france and fifthteen year \nold Dylan Sheiter who was just waking up in the Lost Kids Orphanage. Opening his eyes to the bright papersunlight shining in from the nearby window, Dylan slowly sits up in his bed and stretches a bit. He then gets out of his bed and moves across the dirty room he calls his bedroom and goes to his closet. \nGrabbing his paper thin and made of paper clothes, he quickly puts them on and proceeds out of his room.
Standing in a long hallway now with numerous doors on both sides, Dylan begins to go from room to room, waking up the other orphans. First up were the twins Anne and Martha, followed by \nthe heavy sleeper David and the already awake, Maria. Moving down the hall, he then wakes up David and Marshall, who were sharing a singe dinky paper bed, and then finishes up this morning ritual by waking the snoring Arthur. With that done, he instruct all of the orphans to gather in the kitchen for breakfast and then proceeds over to the kitchen, passing by one of the orphanage caretakers on the way.\n.”””)

Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)

print(“””\nReaching the kitchen, Dylan looks about the room and sees the same empty and barely functioning kitchen he sees every morning. Cobweebs decorated the ceiling of the room and numerous rat traps littered the floor while the countertops looked like they were in desparate need of a cleaning. Taking in a deep breathe of the dust and mold filled air, Dylan made his way over to \nthe pantry and unfolded the door to see what laid inside it. Darting his eyes across the rather small pantry, he grew surprised as he saw it was mostly filled for once. There were papeggs, \na couple pieces of pread, numerous paper baking goods and most surprisingly, plenty of paperserts! Utterly shocked by all of this, Dylan stood still for a moment and instantly became \nexcited. Nodding, he then decided he would make the orphans something special for breakfast.
Looking through the various ingrediants again, he figured there was just enough to make either some french omelettes or pancakes with butter. There was also the possibility for an \nice cream cake…..but Dylan had no experiance making such a treat and trying it might waste the precious paper goods.”””)

breakfast = input(“\nAfter a lot of thinking Dylan decided on…..”)
while(breakfast != “french omelettes” or breakfast != “French Omelettes” or breakfast != “French omelettes” or breakfast != “Pancakes with butter” or breakfast != “pancakes with butter” or breakfast != “Ice cream cake” or breakfast != “ice cream cake”):
if(breakfast == “french omelettes” or breakfast == “French Omelettes” or breakfast == “French omelettes”):
print(“””\nSmiling, Dylan grabbed the papeggs as well as some palt and papper and made his way over to the barely function stove and barely in one piece cabinets. Grabbing a powl from the cabinet, he placed it down in front of him and broke every papegg available over it. Pouring the contents inside, he then added the palt and papper and finally put everything onto the stove. \nCarefully turning the stove paperire on as to not set himself a blaze, he began cooking the omelettes one by one and was done in a matter of moments.”””)
Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)

print(“\nDylan bring out the omelettes for the orphans and everyone has a good breakfast.\n”)
Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)
print (“Dylan realizes that he needs some grocery \ngoes to his room to get ready \ncalls out some of the kids to help him \ntakes kids and walks to the food market that is located around the corner \nDylan buys some of the grocery like bread, eggs, milk, and so on”)
Continue = input (“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if (Continue == “yes” or Continue == “Yes”):
print (“Moving on…”)
break
else:
contunue =input (“Error. Continue? Yes”)
print (“\nWhile walking around the market, Dalyn sees a boy that talks to his mother and they start laughing together \nhe gets really upset because he does not know where he comes from and who are his parents \nreturns to the Orphan house “)
Continue = input (“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if (Continue == “yes” or Continue == “Yes”):
print (“Moving on…”)
break
else:
contunue =input (“Error. Continue? Yes”)
print (” When Dylan gets to his room he starts crying \nhis caretaker finds him and starts to calming the boy down”)
Continue = input (“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if (Continue == “yes” or Continue == “Yes”):
print (“Moving on…”)
break
else:
contunue =input (“Error. Continue? Yes”)
break

elif(breakfast == “Pancakes with butter” or breakfast == “pancakes with butter”):
print(“Dylan adds together flour, baking powder, salt and sugar in a bowl,\nHe makes a well and adds milk, eggs and melted butter, mixing until smooth. \nHe pours the mixture in a pan, turning once each side is golden brown.\nHe serves the pancakes with a dollop of butter.\n”)
Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)
print(“\nThe children enjoy the meal \nespecially since butter is such a luxury.\n”)
Continue = input (“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if (Continue == “yes” or Continue == “Yes”):
print (“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)
print (“Dylan realizes that he needs some grocery \ngoes to his room to get ready \ncalls out some of the kids to help him \ntakes kids and walks to the food market that is located around the corner \nDylan buys some of the grocery like bread, eggs, milk, and so on”)
Continue = input (“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if (Continue == “yes” or Continue == “Yes”):
print (“Moving on…”)
break
else:
contunue =input (“Error. Continue? Yes”)
print (“While walking around the market, Dalyn sees a boy that talks to his mother and they start laughing together \nhe gets really upset because he does not know where he comes from and who are his parents \nreturns to the Orphan house “)
Continue = input (“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if (Continue == “yes” or Continue == “Yes”):
print (“Moving on…”)
break
else:
contunue =input (“Error. Continue? Yes”)
print (” When Dylan gets to his room he starts crying \nhis caretaker finds him and starts to calming the boy down”)
Continue = input (“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if (Continue == “yes” or Continue == “Yes”):
print (“Moving on…”)
break
else:
contunue =input (“Error. Continue? Yes”)
break

elif(breakfast == “Ice cream cake” or breakfast == “ice cream cake”):
print (” Dylan goes to to the kitchen to make ice cream cake. He never made an ice cream cake before! Wondering what the ingredients are, he goes to get vanilla and \nchocolate flavored ice cream from the freezer. Then he gets heavy cream from the refrigerator, biscuit and cake mold from the cabin, and a whisk to put it all \ntogether. He starts by layering the biscuit on the bottom of the cake mold, next he add the chocolate ice cream, then the vanilla ice cream on top it, finally \nhe whipped the heavy cream to make the frosting. After frosting it he gather the kids arround to eat.”)
Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)
print (” The children were very excited to have ice cream for breakfast, but after \nseeing it they all frowned. The ice cream cake was small and melthing. It did \nnot make a good breakfast. The children only got a small portion and thier \nstomach continues to growl. After Dylan goes back to the kitchen to do the \ndishes, the children decides to sneaks out of the orphanage and steals bread \nfrom the local bakery.”)
Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)
print (” After Dylan finishes his dishes he walks into the living room to find the kids missing. He starts to panic and yells for the care taker. Together they run out into the neighborhood to look for them. After searching for five minutes a \nfriend tells Dylan that she found the kids in the bakery across the street. \nDylan calls the care taker and they went to get the kids. Dylan apologizes to \nthe owner and pays for the breads the kids had ate. After they arrive home the \ncare taker explains to the kids what they did was wrong and that they should \nnever do it again.”)
“part where Dylan gets upset is missing”
Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)
break

else:
breakfast = input(“Dylan is trying to make breakfast. Should he make French omelettes, Pancakes with butter or an Ice cream cake?”)

print(“Part where caretaker comforts Dylan.”)
Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)
print(“Part where Dylan finds out he’s the chosen one.”)
Continue = input(“Continue? Yes?”)
while (Continue != “yes” or Continue != “No”):
if(Continue == “yes” or Continue == “Yes”):
print(“Moving on…”)
break
else:
Continue =input(“Error. Continue? Yes?”)
#Changes starts here. Look at the original code side by side to see the changes I made
inventorySpace = 0
inventory = []
print(“””After Dylan finds out about a part of his past, he begins his preparation to seek out the hermit to seek out answers.
He does not know how long his search will last so he chooses three item to help him on his search for the hermit.
\nDylan has five options that he can choose from.
\nThe first item is a set of paper clothing.
\nThe second item is a paper backpack. Warning!! Without his item, Dylan is limited to 10 pieces of paper.
\nTHe third item is a map of the area.
\nThe fourth item is 50 sheets of paper. Warning!! If Dylan does not take the backpack, Dylan can only take 10 pieces of paper with him
\nThe fifth item is food.
\nNow choose. Which item does Dylan bring with him?”””)
while(inventorySpace !=3):
if(inventorySpace == 3):
print(“You reach the limit”)
break
else:
print(“paper clothing, paper backpack, area map, 50 sheets of paper, food”)
choice=input(“Choose an item:”)
if(choice == “paper clothing”):
inventory.append(“paper_clothing”)
inventorySpace += 1
elif(choice == “paper backpack”):
inventory.append(“paper_backpack”)
inventorySpace += 1
elif(choice == “area map”):
inventory.append(“area map”)
inventorySpace += 1
elif(choice == “50 sheets of paper”):
inventory.append(“fifty_sheets_of_paper”)
inventorySpace += 1
elif(choice == “food”):
inventory.append(“food”)
inventorySpace += 1
else:
choice = input(“Try again: “)
print(“Part where Dylan goes to sleep and storm hits.”)

print(“——————————————————————————————-“)

print(” Act 1 End.”)

print(” Act 2 Start”)

print(” Purchase Act 2 lootbox for Act 2″)

print(“——————————————————————————————-“)