This is a project I've been working on and it's my first, so please feel free to just copy this into python and give this a try.
Below you'll find the main code and a small bit on rules and how to play, Enjoy!
import random
print("▄▄▄█████▓ ██░ ██ ▓█████ ▓█████▄ ▄▄▄ ██▀███ ██ ▄█▀ ▓█████▄ █ ██ ███▄ █ ▄████ ▓█████ ▒█████ ███▄ █ ")
print("▓ ██▒ ▓▒▓██░ ██▒▓█ ▀ ▒██▀ ██▌▒████▄ ▓██ ▒ ██▒ ██▄█▒ ▒██▀ ██▌ ██ ▓██▒ ██ ▀█ █ ██▒ ▀█▒▓█ ▀ ▒██▒ ██▒ ██ ▀█ █ ")
print("▒ ▓██░ ▒░▒██▀▀██░▒███ ░██ █▌▒██ ▀█▄ ▓██ ░▄█ ▒▓███▄░ ░██ █▌▓██ ▒██░▓██ ▀█ ██▒▒██░▄▄▄░▒███ ▒██░ ██▒▓██ ▀█ ██▒")
print("░ ▓██▓ ░ ░▓█ ░██ ▒▓█ ▄ ░▓█▄ ▌░██▄▄▄▄██ ▒██▀▀█▄ ▓██ █▄ ░▓█▄ ▌▓▓█ ░██░▓██▒ ▐▌██▒░▓█ ██▓▒▓█ ▄ ▒██ ██░▓██▒ ▐▌██▒")
print(" ▒██▒ ░ ░▓█▒░██▓░▒████▒ ░▒████▓ ▓█ ▓██▒░██▓ ▒██▒▒██▒ █▄ ░▒████▓ ▒▒█████▓ ▒██░ ▓██░░▒▓███▀▒░▒████▒░ ████▓▒░▒██░ ▓██░")
print(" ▒ ░░ ▒ ░░▒░▒░░ ▒░ ░ ▒▒▓ ▒ ▒▒ ▓▒█░░ ▒▓ ░▒▓░▒ ▒▒ ▓▒ ▒▒▓ ▒ ░▒▓▒ ▒ ▒ ░ ▒░ ▒ ▒ ░▒ ▒ ░░ ▒░ ░░ ▒░▒░▒░ ░ ▒░ ▒ ▒ ")
print(" ░ ▒ ░▒░ ░ ░ ░ ░ ░ ▒ ▒ ▒ ▒▒ ░ ░▒ ░ ▒░░ ░▒ ▒░ ░ ▒ ▒ ░░▒░ ░ ░ ░ ░░ ░ ▒░ ░ ░ ░ ░ ░ ░ ▒ ▒░ ░ ░░ ░ ▒░")
print(" ░ ░ ░░ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ░░ ░ ░ ░ ░ ░░░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ")
print(" ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ")
print(sep='/')
print("You wake up in a rotting cell its walls slowly crumbling.In the distance you hear shouting")
print("You get to your feet and realise the cell door is wide open, you walk through the door")
print("You are in a hallway its cobblestone covered in moss, A guard's body lay upon the ground in front of you.","you dress into this clothes in his pocket you find his scroll of identity it reads:")
firstguardbody="Gerald Whiteway"
print(sep='/')
print(firstguardbody)
print(sep='/')
print("You make your way down the hallway")
print("A growling noise fills the hallway as a dog runs towards you its teeth bearing a evil smile.You dodge its attack")
answer1=input("the dog readies to pounce again do you run or engage it in combat?")
if answer1=="engage"or answer1=="Engage":
print("you bound towards the dog and strike it down")
else:
print("you attempt to run but are chased and the dog bites into your leg you loose 2 hp as you shake it off")
print(sep='/')
nameanswer=input("halt!Who goes there?")
if nameanswer =="Gerald Whiteway" or nameanswer== "gerald whiteway":
print("Gerald! I need your help,the guard stumbles into view with the element of surprise you pierce the man's stomach")
else:
print("Stand Down! The guard steps into view his sword at the ready You launch forwards with your sword but the guard dodges and opens up a nick upon your arm you loose 1 hp")
print("you swing your sword in a panic and cut open the guards neck")
print("in the man's possession you find a healing elixir")
print(sep='/')
print("In front of you stands a grand wooden door you push it open and enter a room with a resemblance to a kitchen")
print("On the large worktop you see a pot filled with a stew it seems rather fresh")
answer2=input("do you eat it?")
if answer2=="yes"or answer2=="Yes"or answer2==" yes":
print("The salty taste of the stew makes you splutter but fills your stomach,You gain 3 hp")
else:
print("Out of caution you leave the stew on the work top")
print(sep='/')
answer3=input("As you leave the kitchen the tunnel splits into two do you go right or left?")
if answer3=="left"or answer3=="Left":
print("you head down the left route you hear a slow click spikes rise from the ground and impale your foot you loose 3 hp and slowly limp back to the to the start of the passage and make your way down the right side")
else:
print("you walk down to the end of the passage way")
print("Two mutated creatures stand in your way they seem to be blind")
answer4=input("Do you attempt to sneak past them or do you engage them?")
if answer4=="sneak"or answer4=="go past"or answer4=="sneakpast"or answer4=="sneak past":
print("You attempt to sneak past.The creatures sniff the air,suddenly both cry out loud and swing their arms wildly in your direction you loose 3 hp")
print("You regain your footing and swing your sword in two precise swings opening up a gash in the chests of the creatures")
else:
print("You run up to one of the creatures and quickly decapitate it but the second one digs its claws into your side and you loose 2 hp")
print(" you penetrate the creature's rib cage and drop it to the floor")
print(sep='/')
print("You hear a loud booming voice getting closer and closer,at once the wall to the passageway crumbles and a large Knight like figure steps in front of you")
heroname=input("WHO IS THIS WHO STAND BEFORE ME THE DARK NIGHT!")
if heroname=="joe":
joewho=input("Joe who?")
if joewho=="joemama":
print("The Knight trembles in fear and collapses before you")
print(sep='/')
print("Welldone You have found the joemama easter egg")
else:
print(heroname,"YOU WILL BE CRUSHED!")
answer5=input("The dark night swings his sword down do you dodge left or right?")
if answer5=="left"or answer5=="Left"or answer5==" left"or answer5=="right"or answer5=="Right"or answer5==" right":
print("You dodge the dark knights swing")
answer6=input("The dark knight swings his sword once again do you dodge or attack?")
print("YOU WILL NOT DEFEAT ME! the dark knight booms as he lurches forwards")
finalkill=random.randint(1,6)
print(finalkill)
if finalkill==6:
print(sep='/')
print("You dodge the dark knights attack and launch your sword into his unarmoured chest he drops to the floor blood sprawling around him")
print("Well done. You completed the game. Thank you for playing I greatly appreciate it")
else:
print(sep='/')
print("The dark knight digs his sword through your chest as your soul leaves your body")
print(" YOU LOST ")
Rules and how to play
elixir=0
print("This is the stat tracker for The Dark Dungeon Narrative Choice game. Here you will be able to keep track of health how many elixirs you have the final battle and read the rules")
print("RULES:")
print("if you have an elixir you can use it anytime to regain 1 hp")
print("if you are struck with a trap you will take the amount of damage on the screen and loose 1 hp after every battle")
print("the final battle is depended on a dice roll but the computer will roll for you")