Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-11-29 17:37:07, last edited by JohnnyCraig (2016-12-02 12:04:01)

JohnnyCraig
Member
Joined: 2016-04-09
Posts: 261

My First Batch Game (The Story Game)

@echo off
cls
color 70
echo Welcome to The Story Game!
echo Press any key to play
pause >nul
goto begin

:Begin
   set answer=0
cls
echo Mom: Can you go to the store to get some milk please?
echo.
echo 1)Sure
echo 2)No
echo.
set /p answer=Enter:
if %answer% == 1 goto Store
if %answer% == 2 goto Moms mad
  goto Begin

:Store
   set answer=0
cls
echo You check your pocket, You dropped a dollar! What do you do?
echo.
echo 1)Go look for the Dollar
echo 2)Go back home
echo.
set /p answer=Enter:
if %answer% == 1 goto Look for a Dollar
if %answer% == 2 goto Trouble
  goto Store

:Moms mad
   set answer=0
cls
echo Then you're grounded!
echo.
echo 1)Quit
echo 2)Restart
set /p answer=Enter:
if %answer% == 1 goto Quit
if %answer% == 2 goto :Begin
  goto Moms mad

:Trouble
   set answer=0
cls
echo You lost the Dollar?! Then you're grounded!
echo.
echo 1)Quit
echo 2)Restart
set /p answer=Enter:
if %answer% == 1 goto Quit
if %answer% == 2 goto :Begin
  goto Trouble

:Look for a Dollar
   set answer=0
cls
echo Where do you want to look?
echo.
echo 1)Trash
echo 2)Alley
echo 3)Store
set /p answer=Enter:
if %answer% == 1 goto Trash
if %answer% == 2 goto Alley Way
if %answer% == 3 goto Store2
  goto Look for a Dollar

:Trash
   set answer=0
cls
echo You look in the trash and find nothing where do you look now?
echo.
echo 1)Alley
echo 2)Store
set /p answer=Enter:
if %answer% == 1 goto Alley Way
if %answer% == 2 goto Store2
  goto Trash

:Alley Way
   set answer=0
cls
echo You look and the alley and see a group of guys, They shoot you and you die.
echo.
echo 1)Quit
echo 2)Restart
set /p answer=Enter:
if %answer% == 1 goto Quit
if %answer% == 2 goto :Begin
  goto Alley Way

:Store2
   set answer=0
cls
echo You look around in the store you find your Dollar!
echo.
echo 1)Buy the milk and go home
echo 2)Act like you lost the dollar and go home
set /p answer=Enter:
if %answer% == 1 goto Home
if %answer% == 2 goto Trouble
  goto Store2

:Home
   set answer=0
cls
echo Mom: Thank you sweetheart by the way your friend knocked you can go play with them now!
echo.
echo 1) Play with your friend
echo 2) Stay inside
set /p answer=Enter:
if %answer% == 1 goto Friend
if %answer% == 2 goto Home2
  goto Home

:Home2
   set answer=0
cls
echo You: Should I play Xbox or goto sleep?
echo.
echo 1)Play Xbox
echo 2)Goto sleep
set /p answer=Enter:
if %answer% == 1 goto Hours
if %answer% == 2 goto Sleep
  goto Home2

:Friend
   set answer=0
cls
echo You: Sup.
echo Friend: Hey what are you doing today?
echo.
echo 1)Just going to the park
echo 2)Nothing, wanna go inside and play Xbox?
echo 3)Nothing, Wanna watch ****?
set /p answer=Enter:
if %answer% == 1 goto Park
if %answer% == 2 goto Xbox2
if %answer% == 3 goto nroP
  goto Friend

:Hours
cls
echo 3 Hours later
echo Press any key to continue
pause >nul
goto Xbox


:Xbox
   set answer=0
cls
echo You: I think thats enough Xbox I think I should goto sleep?
echo.
echo 1)Yes
echo 2)No
set /p answer=Enter:
if %answer% == 1 goto Sleep
if %answer% == 2 goto Choice
  goto Xbox

:Sleep
   set answer=0
cls
echo You woke up the next morning time for school!
echo.
echo 1)Goto school
echo 2)Act like you're sick
echo 3)Skip school
set /p answer=Enter:
if %answer% == 1 goto School
if %answer% == 2 goto Sick
if %answer% == 3 goto Skip School
  goto Sleep

:nroP
   set answer=0
cls
echo You and your friend watch **** but got caught by your mom and got grounded!
echo.
echo 1)Quit
echo 2)Restart
set /p answer=Enter:
if %answer% == 1 goto Quit
if %answer% == 2 goto Begin
  goto nroP

:Park
   set answer=0
cls
echo Friend: Dude I don't think we should.. Theres too many people.
echo.
echo 1)Play Xbox instead
echo 2)Go home and goto sleep
set /p answer=Enter:
if %answer% == 1 goto Xbox2
if %answer% == 2 goto Sleep
  goto Park

:Xbox2
cls
echo You and your friend play Xbox then he has to leave so you goto sleep, Press any key to continue.
pause >nul
goto :Sleep

:Skip School
   set answer=0
cls
echo You try to skip school but you get caught!
echo.
echo 1)Quit
echo 1)Restart
set /p answer=Enter:
if %answer% == 1 goto Quit
if %answer% == 2 goto Begin
  goto Skip School

:School
   set answer=0
cls
echo So you goto school but you're late what do you do?
echo.
echo 1)Go home
echo 2)Just get a late pass
set /p answer=Enter:
if %answer% == 1 goto Trouble2
if %answer% == 2 goto School2
  goto School

:Sick
   set answer=0
cls
echo You act sick but mom said you only stay home if you throw up!
echo.
echo 1)Try to throwup
echo 2)Just goto school
set /p answer=Enter:
if %answer% == 1 goto Bad
if %answer% == 2 goto School
  goto Sick

:Bad
cls
echo You try to fake throwup but your mom caught you!
echo Press any key to continue
pause >nul
goto Caught

:Caught
echo Mom: You tried to act sick?! You're grounded!
echo.
echo 1)Quit
echo 2)Restart
set /p answer=Enter:
if %answer% == 1 goto Quit
if %answer% == 2 goto Begin

:Trouble2
   set answer=0
cls
echo Mom: You came home because you're late?! grounded!
echo.
echo 1)Quit
echo 2)Restart
set /p answer=Enter:
if %answer% == 1 goto Quit
if %answer% == 2 goto Begin

:School2
   set answer=0
cls
echo You goto class and you get ready to choose your breakfest. What do you choose?
echo.
echo 1)Eggs, Bacon, Pancakes.
echo 2)Waffles, Eggs.
echo 3)Pancakes with syrup
echo 4)Fruit Loops
echo 5)Fruity Pebbles
echo 6)Cocoa Pebbles
echo 7)Bagel, Pancakes, Waffles.
echo 8)Pancakes, Waffles.
echo 9)Hashbrown, Bagel, Waffle
echo 10)Waffle, Eggs, Hashbrown.
set /p answer=Enter:
if %answer% == 1 goto School3
if %answer% == 2 goto School3
if %answer% == 3 goto School3
if %answer% == 4 goto School3
if %answer% == 5 goto School3
if %answer% == 6 goto School3
if %answer% == 7 goto School3
if %answer% == 8 goto School3
if %answer% == 9 goto School3
if %answer% == 10 goto School3

:School3
   set answer=0
cls
echo So you eat your breakfest and now its time for math. What do you do?
echo.
echo 1)Do your math
echo 2)Don't do your math
echo 3)Walk out of the class
set /p answer=Enter:
if %answer% == 1 goto Math
if %answer% == 2 goto Nomath
if %answer% == 3 goto Outofclass

:Math
   set answer=0
cls echo

JohnnyCraig.jpg
Every damn gives 1$ to Mustache Cancer
Money Collected - 439$
|50$|100$|150$|200$|250$|300$|350$|400$|450$|500$|
------------------------------------------------------------
ROAD TO 500$ DOLLARS

Offline

Wooted by:

#2 2016-11-29 17:44:21, last edited by SirJosh3917 (2016-11-29 17:44:57)

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: My First Batch Game (The Story Game)

Mind putting that in

 [ code ] [ /code ] 

tags?

I'd also suggest adding some visual part by using an external tool.

Offline

Wooted by:

#3 2016-11-29 18:05:08

kubapolish
Banned
From: ̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
Joined: 2015-02-19
Posts: 1,024
Website

Re: My First Batch Game (The Story Game)

pls
at least put 'set x=0' at the beginning of label so it doesn't break if you press enter without typing anything and 'goto x' commands at the end of 'section' so it doesn't select first option or whatever, like this:

:Begin
  set answer=0
cls
echo Mom: Can you go to the store to get some milk please?
echo.
echo 1)Sure
echo 2)No
echo.
set /p answer=Enter
if %answer% == 1 goto Store
if %answer% == 2 goto Moms mad
  goto Begin
:Store

also i'm pretty sure labels can't contain space character


Offline

#4 2016-11-30 00:30:15

JohnnyCraig
Member
Joined: 2016-04-09
Posts: 261

Re: My First Batch Game (The Story Game)

kubapolish wrote:

pls
at least put 'set x=0' at the beginning of label so it doesn't break if you press enter without typing anything and 'goto x' commands at the end of 'section' so it doesn't select first option or whatever, like this:

:Begin
  set answer=0
cls
echo Mom: Can you go to the store to get some milk please?
echo.
echo 1)Sure
echo 2)No
echo.
set /p answer=Enter
if %answer% == 1 goto Store
if %answer% == 2 goto Moms mad
  goto Begin
:Store

also i'm pretty sure labels can't contain space character

ty for letting me know fixed it


JohnnyCraig.jpg
Every damn gives 1$ to Mustache Cancer
Money Collected - 439$
|50$|100$|150$|200$|250$|300$|350$|400$|450$|500$|
------------------------------------------------------------
ROAD TO 500$ DOLLARS

Offline

#5 2016-12-01 14:07:51

BuzzerBee
Forum Admin
From: Texas, U.S.A.
Joined: 2015-02-15
Posts: 4,566

Re: My First Batch Game (The Story Game)

Moved to Creative™


TdQRyz3.png
https://wiki.everybodyedits.com/images/5/5d/135_bee

Offline

BuzzerBee1480597671637819

Board footer

Powered by FluxBB

[ Started around 1711659500.257 - Generated in 0.068 seconds, 12 queries executed - Memory usage: 1.45 MiB (Peak: 1.59 MiB) ]