So I did this as a little exercise.
It was nighttime and I was tired and Skyping with a friend.
So, you can imagine how it turned out.
Anyway, it's a little batch multiple-choice adventure game
I'd love feedback!
I know the language and details aren't the best(Done at 1am...) but if you have any ideas about the technical part, I'd love to hear it!
Code:
@echo off
title Godzilla burgers
color A0
:start
cls
echo This is the moment you have been waiting for the whole day. It's 7pm and you are stainding in the line of Godzilla burgers, your local street grill(or "snagari" as your Finnish friends say).
echo There are three people in front of you. It's quite chilly and you could use a
echo nice fight to stay warm. You decide to...
echo A Wait in the line like a good guy
echo B Pay the guys in front of you to start boxing a little(You definetly don't have the cash but hopefully you can outrun or outsmart them)
echo C Start bitching the guy in front of you and fight him.
echo D *censored* this. Just go home.
set/p "choice=>"
if %choice%==A goto wait
if %choice%==B goto dogfight
if %choice%==C goto battle
if %choice%==D goto home
:wait
cls
echo You stand in the line and check your phone a couple of times. You almost die of boredom, but it's finally your turn.
ping localhost -n 5 >nul
goto order
:dogfight
cls
echo You speak to the two guys in front of you. "Hey guys. Wan't to warm up a bit? You two, mano O mano. Winner gets 20 bucks."
echo The guys are both rough-bodied construction workers, apparently coworkers. They look at each other and get to boxing stances.
echo They start hitting each other and continue until the slightly smaller one falls down. You cheer.
echo.
ping localhost -n 5 >nul
echo "Twenty bucks, if you would" The winner says grinning.
echo You only have money for your hot dog, so you can't pay. You decide to...
echo 1 Outsmart him
echo 2 Outrun him
echo 3 Give him your food money and go home.
set/p "num=>"
if %num%==1 goto outsmart
if %num%==2 goto outrun
if %num%==3 goto home
:outsmart
cls
echo You smile saying:"If you get the riddle right."
echo "When the sun goes down, I go up. What am I?"
echo "The moon" the worker says and puts his hand forth.
echo You laugh and say:"A *censored*!"
echo The worker is not amused. He steps toward you.
ping localhost -n 12 >nul
goto outrun
:outrun
cls
echo You smile and reach for your pocket.
echo In a blink of an eye you turn around and start running!
echo The workers run after you, but you manage to lose them.
echo.
echo You realize you can't go back to Godzilla's, so you have to go home.
pause
goto home
REM Tappelut alkaa
:battle
cls
echo You knock on the shoulder of the bald guy in front of you. He turns around.
echo "Hey" You say."Did you notice you dropped your hair somewhere?"
echo "And your hair seems to grow from your nose" He answers.
echo "Let's settle this like gentlemen", you say and raise your fists.
ping localhost -n 7 >nul
color 50
cls
echo The world around you seems to grow to the size of an arena when you get ready to battle.
echo You are standing in front of the big man. He is waits for you to make your move.
echo People are gathering around you and you must decide.
echo.
echo attack
echo Skills: jumpkick, taunt, batbeatdown
echo Magic: fireball, waterpower
set/p "fight=>"
if %fight%==attack goto attack
if %fight%==jumpkick goto jumpkick
if %fight%==taunt goto taunt
if %fight%==batbeatdown goto batbeatdown
if %fight%==fireball goto fireball
if %fight%==waterpower goto waterpower
:attack
cls
echo You take all your strenght to this blow nad punch him in the stomach.
echo He doesen't even blink. Instead, he grabs you and crushes the air from your lungs.
echo You Try to signal him your surrender, but he breaks your bones.
echo Ambulance is soon called and you are taken to a hospital.
echo When you are fixed, it's already too late. Your brains can't work without
echo Godzilla burgers.
echo You spend a couple of days in intersive treatment and after that you are sent to a mental hospital.
echo You have been diagnosed with the brain functions of a vegetable.
echo You end your days in the hospital.
ping localhost -n 5 >nul
echo GAME OVER
pause
goto start
:jumpkick
cls
echo You jump to the air and kick him in the face.
echo ...Well that's what you planned.
echo He quickly steps back and grabs you when you hit the ground.
echo The worker does not hesitate.He crushes the air from your lungs.
echo You Try to signal him your surrender, but he breaks your bones.
echo Ambulance is soon called and you are taken to a hospital.
echo When you are fixed, it's already too late. Your brains can't work without
echo Godzilla burgers.
echo You spend a couple of days in intersive treatment and after that you are sent to a mental hospital.
echo You have been diagnosed with the brain functions of a vegetable.
echo You end your days in the hospital.
ping localhost -n 5 >nul
echo GAME OVER
pause
goto start
:taunt
cls
echo You decide to anger him first.
echo "Yo momma's a *censored*!" you shout.
echo He roars and speeds towards you.
echo You dodge and try to trip him, but he's too fast.
echo Your leg breaks and you fall.
echo He gets the upper hand and steals all your money.
echo The worker smiles and goes to buy a burger.
echo You can barely see the gigantic lizard that is approaching the food stand,
echo but you don't have the power to do anything.
echo You die out of blood loss.
pause
goto start
:batbeatdown
cls
echo "Okay guys", you say loudly
echo "It's time for a beatdown- A BATBEATDOWN!"
echo A group of your friends jump from the shadows,
echo all dressed like bats. They attack the worker
echo while you pull out your trusty baseball bat.
echo "HOME RUN!" You shout and hit your opponent in the head.
pause
echo He collapses to the ground and you go claim your prize:
echo A Godzilla Burgers Hot *censored* Dog!
ping localhost -n 10 >nul
goto :order
:fireball
cls
echo You smile and raise your hands.
echo Everyone feels the warmth when fire starts to grow.
echo You hit your hands together.
pause
echo Fire bursts out of your hands and your enemy dodges in terror.
echo Fire hits Godzilla Burgers stand and it burns to ground!
echo You shout in terror and collapse.
echo You can barely see the gigantic lizard that is approaching the burning food stand,
echo but you don't have the power to do anything.
echo The lizard cries out of anger because it can't get a burger.
echo He destroys the world, but you know this is all your fault.
echo You collapse and when you wake up...
ping localhost -n 10 >nul
echo There's nothing left.
ping localhost -n 3 >nul
echo you lose!
pause
goto start
:waterpower
cls
echo You open your mouth and gallons of water burst out.
echo Your opponent stands in front of you.
echo He is soaking wet, but no harm is done.
echo He roars and speeds towards you.
echo You dodge and try to trip him, but he's too fast.
echo Your leg breaks and you fall.
echo He gets the upper hand and steals all your money.
echo The worker smiles and goes to buy a burger.
echo You can barely see the gigantic lizard that is approaching the food stand,
echo but you don't have the power to do anything.
echo You die out of blood loss.
pause
goto start
REM Tappelut loppuu
:home
cls
echo You sigh and walk home.
echo You spend the evening by sitting on your couch and thinking about the epic hot dogs of Godzilla burgers.
echo.
echo After four days you friends find you in your apartment, almost dead of hunger and thirst. You are still sitting on the couch, lost in your own world. Your friends can't wake you up, so they call the paramedics.
echo You spend a couple of days in intersive treatment and after that you are sent to a mental hospital.
echo You have been diagnosed with the brain functions of a vegetable.
echo You end your days in the hospital.
ping localhost -n 5 >nul
echo GAME OVER
pause
goto :start
:order
cls
echo You stand in front of Mike, the owner of Godzilla's.
echo He smiles and asks:
echo "Godzilla burgers Hot *censored* Dog, right?"
echo "*censored* right" You say and hand him the money.
echo "Coming with a large coke" Mike adds and gets to work.
pause
echo You soon get your hot dog and smile.
echo Just when you're about to eat it you hear a loud roar.
echo Mike is looking behind you, he's mouth hanging open.
echo You turn around and see what you thought only exists in stories.
ping localhost -n 8 >nul
echo A gigantic lizard stands in front of you.
echo.
echo.
echo.
echo "Godzilla" Mike says in amazement behind you. His mouth hangs open.
ping localhost -n 3 >nul
echo Godzilla looks at Mike and puts his lizardous "hand" forward.
echo "BURRRRRGGGEEEEERRRRRRRR" It groans
echo Mike stares in terror without moving.
echo "BURRRRGEEEEEEEEEEEEEEERRRRRRRRR!" Godzilla cries, sounding a lot angryer.
echo Clearly Mike does not realize what's going on.You have to do something!
echo D Make Mike realize he must make a burger
echo E Attack Godzilla
echo F *censored* this. Eat your hot dog!
REM ^ ^ Coincidence?I THINK NOT!
set/p "savetheday=>"
if %savetheday%==D goto Happygodzillaending
if %savetheday%==E goto SadGodzillaending
if %savetheday%==F goto Moralofthestory
:Happygodzillaending
cls
echo You punch Mike in the elbow and shout:
echo "Mike!Snap out of it!Make a burger!"
echo Mike blinks a couple of times and then gets to work.
echo Godzilla waits patiently while Mike is cooking.
echo You notice people around you staring in amazement,
echo but Godzilla doesen't seem to care.
pause
echo Mike gets the burger done and gives it to Godzilla
echo with his trembling hands.
ping localhost -n 5 >nul
echo Godzillas expression changes.
echo Is it...It's smiling!
echo Godzilla takes the gigantic burger that
echo looks tiny in it's hand.
ping localhost -n 5 >nul
echo Godzilla throws the burger in it's mouth and seems
echo to really enjoy it.
echo Godzilla bows a little and walks away.
echo It disappears in the smog.
ping localhost -n 10 >nul
goto theend
:SadGodzillaending
cls
echo You pull out your knife and strike it to
echo Godzilla's huge toe.
echo.
echo.
echo Godzilla looks down and you see tears
echo coming from his eyes.
echo It's hard to believe, but...He's crying!
echo Godzilla runs to the smog and disappears.
echo He takes your knife with you, but
echo you don't even care.
ping localhost -n 5 >nul
echo People gather around and cheer your name.
echo Still, you can't celebrate with them.
echo You are the only one who realizes...
echo He was like a human...
echo And all this could have been avoided,
echo just if you wouldn't have judged
echo him by his looks.
echo He was just trying to get a burger.
echo Just like you.
pause
goto theend
:Moralofthestory
cls
echo You just lean to the food stand
echo and bite your hot dog.
echo Mike still stares at Godzilla.
echo Godzilla gets angry. It roars and
echo kicks Mike's stand which flies away.
echo Godzilla runs over you and disappears to
echo the mist.
pause
echo Moral of the story:
echo Don't be a *censored*.
echo People will run over you.
ping localhost -n 5 >nul
color A0
cls
echo Thanks for playing!
echo Would you like to restart?
set/p "restart=>"
if %restart%==Yes goto start
if %restart%==yes goto start
if %restart%==No goto exit
if %restart%==no goto exit
:theend
color A0
cls
echo Congratulations!
echo You survived alive and that's
echo quite cool!
echo Remember, there are still endings to find,
echo so would you like to restart?
set/p "restart=>"
if %restart%==Yes goto start
if %restart%==yes goto start
if %restart%==No goto exit
if %restart%==no goto exit
:exit
exit