Game Guides > Game FAQ >  

How do you make a cmd game with Notepad

How do you make a cmd game with Notepad
well its very hard to first your gonna have to learn coding like with java script

well i can give you the tic tac toe game i made in notepad but first I'll tell you a little bit about creating games in notepad 1st type in @echo off normally you have to do this because your creating a .bat file all so known as batch file then your need a page so you will go
:menu
cls (cls means new page)
then to get the computer talk to you, you type echo before your text Eg:
echo Hello whats your name:
and then for it to get it to remember the name you typed in you go
echo hello whats your name:
set /p name=

echo Hello

and so on so you get the idea of creating games so that's a little bit about notepad (simple text) well I'll give u the coding/script for tic tac toe but its very long so yeah

@echo off
color 2
title Jarrod's Tic Tac Toe Game
title Noughts and Crosses
setlocal enabledelayedexpansion
::~ ^^^ Stops all commands appearing on screen, sets the title and enables the use of ! for environment variable
:menu
cls
echo Main Menu
echo welcome to Jarrod's Tic tac toe game
echo To Play A 1-Player Game, Enter 1
echo To Play A 2-Player Game, Enter 2
echo To Exit, Enter 3
set /p menu=
if not defined menu goto menu
if /iequ 1 (
set menu=
cls
goto 1p
)
if /iequ 2 (
set menu=
cls
goto 2p
)
if /iequ 3 (
goto end
)
set menu=
goto menu
::~ ^^ The menu system, gives all the options, allows the user to input a number using "set /p menu="
:~ If the user didn't enter a value, it 'goto's back to ask again.
::~ Checks the Menu variable, tests to see if it matches 1, 2 or 3, then 'goto's the appropriate place.
:1p
set turns=0
set x1=0
set x2=0
set x3=0
set x4=0
set x5=0
set x6=0
set x7=0
set x8=0
set x9=0
set o1=0
set o2=0
set o3=0
set o4=0
set o5=0
set o6=0
set o7=0
set o8=0
set o9=0

::~ Sets the number of turns taken so far to 0
::~ Sets all the places on the noughts and crosses grid to 0
set d1=1
set d2=2
set d3=3
set d4=4
set d5=5
set d6=6
set d7=7
set d8=8
set d9=9

::~ Sets the display characters for game to their appropriate number

set rnumber=
set rnumber2=
set /a rnumber=/ 2
set /a rnumber=* 2

::~ Sets a variable "rnumber" to a random number
::~ Sets a variable "rnumber2" to the same number as "rnumber"
::~ Divides "rnumber" by two, then multiplies by two.
::~ If the number was even, it would be equal to "rnumber2", if it was odd it would end up one less than "rnumber2"
::~ This is the method I use to create a 50% chance, as there's a 50% that a random number will be odd or even
if==%rnumber2% (
echo Crosses go first
echo You are noughts
pause>nul
set rnumber=
set rnumber2=
set go=1xgame
goto 1display
) else (
echo Noughts go first
echo You are noughts
pause>nul
set rnumber=
set rnumber2=
set go=1ogame
goto 1display
)

::~ This tests to see if the numbers are equal, then sets the "go" variable to whichever possibility came out and deletes the "rnumber" variables
::~ Then 'Goto's the display

:1display
cls
echo %d1% %d2% %d3%
echo %d4% %d5% %d6%
echo %d7% %d8% %d9%
if /iequ 9 (goto draw)
echo.
echo Your Turn
echo.
goto

::~ ^^ Displays the current status of each place in the grid. At the start these will all just be numbers.
::~ Checks that the turns hasn't reach nine. If it has, all the spaces on the grid have been used up and nobody has won, so the game is a draw.

:1ogame
echo Choose the number of the space you'd like to choose
set guess=
set /p guess=
if not defined guess goto 1display
set guess=%guess:~0,1%
if /i notleq 9 goto 1display
if /i notgtr 0 goto 1display
if /i !d! neqgoto 1display
goto 1o

::~ Asks the user to input the number of the space they want to choose and allows them to using "Set /p"
::~ If the user didn't input or entered something that wasn't a number between 1 and 9, it 'goto's back, to ask again
::~ Checks that the number hasn't been already chosen by checking that !d! is equal to guess. This works becauseif the user guesses 1, d1 should equal 1.
::~ If it has already been chosen, d1 would be a O or a X, so it would not be equal.
::~ 'Goto's the number chosen.

:1o1
set o1=1
set x1=1000
set d1=O
goto 1oprocess
:1o2
set o2=10
set x2=1000
set d2=O
goto 1oprocess
:1o3
set o3=100
set x3=1000
set d3=O
goto 1oprocess
:1o4
set o4=1
set x4=1000
set d4=O
goto 1oprocess
:1o5
set o5=10
set x5=1000
set d5=O
goto 1oprocess
:1o6
set o6=100
set x6=1000
set d6=O
goto 1oprocess
:1o7
set o7=1
set x7=1000
set d7=O
goto 1oprocess
:1o8
set o8=10
set x8=1000
set d8=O
goto 1oprocess
:1o9
set o9=100
set x9=1000
set d9=O
goto 1oprocess

::~ The space of the number chosen on the display grid is changed to the correct letter (X or O) and a number is added to the %x-% grid and the %o-% grid.
::~ These two grids are used to work out whether someone has won, and allows the computer to work out which place to go next.

:1oprocess
set /a line1= %o1% + %o2% + %o3%
if /i %line1% equ 111 (goto owin)

set /a line2= %o4% + %o5% + %o6%
if /i %line2% equ 111 (goto owin)

set /a line3= %o7% + %o8% + %o9%
if /i %line3% equ 111 (goto owin)

set /a line4= %o1% + %o5% + %o9%
if /i %line4% equ 111 (goto owin)

set /a line5= %o3% + %o5% + %o7%
if /i %line5% equ 111 (goto owin)

set /a line6= %o1% + %o4% + %o7%
if /i %line6% equ 3 (goto owin)

set /a line7= %o2% + %o5% + %o8%
if /i %line7% equ 30 (goto owin)

set /a line8= %o3% + %o6% + %o9%
if /i %line8% equ 300 (goto owin)

::~ This section of code adds up all of the possible winning combinations on the %o-% grid i.e. each row, column and diagional, to check if the player has got three Os in a row. If so 'goto's the owin section.

set go=1xgame
set guess=
set /a turns=+ 1
goto 1display

::~ Sets the go to the computer's and adds one to the number of turns taken
::~ 'Goto's the display.
:1xgame

set /a line1= %x1% + %x2% + %x3%
if /i %line1% equ 11 (
set guess=3
goto 1ac
)

set /a line1= %x1% + %x2% + %x3%
if /i %line1% equ 101 (
set guess=2
goto 1ac
)

set /a line1= %x1% + %x2% + %x3%
if /i %line1% equ 110 (
set guess=1
goto 1ac
)
set /a line1= %x4% + %x5% + %x6%
if /i %line1% equ 11 (
set guess=6
goto 1ac
)

set /a line1= %x4% + %x5% + %x6%
if /i %line1% equ 101 (
set guess=5
goto 1ac
)

set /a line1= %x4% + %x5% + %x6%
if /i %line1% equ 110 (
set guess=4
goto 1ac
)

set /a line1= %x7% + %x8% + %x9%
if /i %line1% equ 11 (
set guess=9
goto 1ac
)

set /a line1= %x7% + %x8% + %x9%
if /i %line1% equ 101 (
set guess=8
goto 1ac
)

set /a line1= %x7% + %x8% + %x9%
if /i %line1% equ 110 (
set guess=7
goto 1ac
)

set /a line1= %x1% + %x5% + %x9%
if /i %line1% equ 11 (
set guess=9
goto 1ac
)

set /a line1= %x1% + %x5% + %x9%
if /i %line1% equ 101 (
set guess=5
goto 1ac
)

set /a line1= %x1% + %x5% + %x9%
if /i %line1% equ 110 (
set guess=1
goto 1ac
)

set /a line1= %x3% + %x5% + %x7%
if /i %line1% equ 11 (
set guess=3
goto 1ac
)

set /a line1= %x3% + %x5% + %x7%
if /i %line1% equ 101 (
set guess=5
goto 1ac
)

set /a line1= %x3% + %x5% + %x7%
if /i %line1% equ 110 (
set guess=7
goto 1ac
)

set /a line1= %x1% + %x4% + %x7%
if /i %line1% equ 2 (
if /i %d1% equ 1 (
set guess=1
goto 1ac
)
if /i %d4% equ 4 (
set guess=4
goto 1ac
)
if /i %d7% equ 7 (
set guess=7
goto 1ac
)
)

set /a line1= %x2% + %x5% + %x8%
if /i %line1% equ 20 (
if /i %d2% equ 2 (
set guess=2
goto 1ac
)
if /i %d5% equ 5 (
set guess=5
goto 1ac
)
if /i %d8% equ 8 (
set guess=8
goto 1ac
)
)

set /a line1= %x3% + %x6% + %x9%
if /i %line1% equ 200 (
if /i %d3% equ 3 (
set guess=3
goto 1ac
)
if /i %d6% equ 6 (
set guess=6
goto 1ac
)
if /i %d9% equ 9 (
set guess=9
goto 1ac
)
)
::~ ^^^ These sections add up all the %x-% grid and checks to see if there is a way the computer can win this turn.
::~ If so, it sets the guess to the correct number and 'goto's the 1ac section.
set /a line1= %o1% + %o2% + %o3%
if /i %line1% equ 11 (
set guess=3
goto 1ac
)

set /a line1= %o1% + %o2% + %o3%
if /i %line1% equ 101 (
set guess=2
goto 1ac
)

set /a line1= %o1% + %o2% + %o3%
if /i %line1% equ 110 (
set guess=1
goto 1ac
)
set /a line1= %o4% + %o5% + %o6%
if /i %line1% equ 11 (
set guess=6
goto 1ac
)

set /a line1= %o4% + %o5% + %o6%
if /i %line1% equ 101 (
set guess=5
goto 1ac
)

set /a line1= %o4% + %o5% + %o6%
if /i %line1% equ 110 (
set guess=4
goto 1ac
)

set /a line1= %o7% + %o8% + %o9%
if /i %line1% equ 11 (
set guess=9
goto 1ac
)

set /a line1= %o7% + %o8% + %o9%
if /i %line1% equ 101 (
set guess=8
goto 1ac
)

set /a line1= %o7% + %o8% + %o9%
if /i %line1% equ 110 (
set guess=7
goto 1ac
)

set /a line1= %o1% + %o5% + %o9%
if /i %line1% equ 11 (
set guess=9
goto 1ac
)

set /a line1= %o1% + %o5% + %o9%
if /i %line1% equ 101 (
set guess=5
goto 1ac
)

set /a line1= %o1% + %o5% + %o9%
if /i %line1% equ 110 (
set guess=1
goto 1ac
)

set /a line1= %o3% + %o5% + %o7%
if /i %line1% equ 11 (
set guess=3
goto 1ac
)

set /a line1= %o3% + %o5% + %o7%
if /i %line1% equ 101 (
set guess=5
goto 1ac
)

set /a line1= %o3% + %o5% + %o7%
if /i %line1% equ 110 (
set guess=7
goto 1ac
)

set /a line1= %o1% + %o4% + %o7%
if /i %line1% equ 2 (
if /i %d1% equ 1 (
set guess=1
goto 1ac
)
if /i %d4% equ 4 (
set guess=4
goto 1ac
)
if /i %d7% equ 7 (
set guess=7
goto 1ac
)
)

set /a line1= %o2% + %o5% + %o8%
if /i %line1% equ 20 (
if /i %d2% equ 2 (
set guess=2
goto 1ac
)
if /i %d5% equ 5 (
set guess=5
goto 1ac
)
if /i %d8% equ 8 (
set guess=8
goto 1ac
)
)

set /a line1= %o3% + %o6% + %o9%
if /i %line1% equ 200 (
if /i %d3% equ 3 (
set guess=3
goto 1ac
)
if /i %d6% equ 6 (
set guess=6
goto 1ac
)
if /i %d9% equ 9 (
set guess=9
goto 1ac
)
)
::~ This section checks that there is no way the noughts can win next turn by adding up the %o-% grid. If so it sets the guess to the right number and 'goto's 1ac.

set guess=%time:~9,1%

::~ If there is no way that the computer OR the player can win next turn, the computer chooses a random number as its guess. The random number I use is the millisecond digit of the clock.

:1ac
if /iequ 0 goto 1display
echo !d!
if /i NOT !d!==goto 1display
goto 1x

::~ Checks that the place hasn't already been taken (as explained above) and 'goto's the corresponding place below.

:1x1
set x1=1
set o1=1000
set d1=X
goto 1xprocess
:1x2
set x2=10
set o2=1000
set d2=X
goto 1xprocess
:1x3
set x3=100
set o3=1000
set d3=X
goto 1xprocess
:1x4
set x4=1
set o4=1000
set d4=X
goto 1xprocess
:1x5
set x5=10
set o5=1000
set d5=X
goto 1xprocess
:1x6
set x6=100
set o6=1000
set d6=X
goto 1xprocess
:1x7
set x7=1
set o7=1000
set d7=X
goto 1xprocess
:1x8
set x8=10
set o8=1000
set d8=X
goto 1xprocess
:1x9
set x9=100
set o9=1000
set d9=X
goto 1xprocess

::~ This section, as for the noughts, changes the display character of the chosen place, and adds numbers to the %x-% grid.

:1xprocess
set /a line1= %x1% + %x2% + %x3%
if /i %line1% equ 111 (goto xwin)

set /a line2= %x4% + %x5% + %x6%
if /i %line2% equ 111 (goto xwin)

set /a line3= %x7% + %x8% + %x9%
if /i %line3% equ 111 (goto xwin)

set /a line4= %x1% + %x5% + %x9%
if /i %line4% equ 111 (goto xwin)

set /a line5= %x3% + %x5% + %x7%
if /i %line5% equ 111 (goto xwin)

set /a line6= %x1% + %x4% + %x7%
if /i %line6% equ 3 (goto xwin)

set /a line7= %x2% + %x5% + %x8%
if /i %line7% equ 30 (goto xwin)

set /a line8= %x3% + %x6% + %x9%
if /i %line8% equ 300 (goto xwin)

set go=1ogame
set /a turns=+ 1
goto 1display

::~ Sets the turn to the player, increases the turns variable by one. 'Goto's the display.

::#######################################################
::~ Two player is exactly the same as one player, apart from the computer is replaced by a second player, the code is otherwise identical and does not need explaining again.
:2p
set turns=0
set x1=0
set x2=0
set x3=0
set x4=0
set x5=0
set x6=0
set x7=0
set x8=0
set x9=0
set o1=0
set o2=0
set o3=0
set o4=0
set o5=0
set o6=0
set o7=0
set o8=0
set o9=0
set d1=1
set d2=2
set d3=3
set d4=4
set d5=5
set d6=6
set d7=7
set d8=8
set d9=9
set rnumber=
set rnumber2=rnumber
set /a rnumber=/ 2
set /a rnumber=* 2
if==%rnumber2% (
echo Crosses go first
pause>nul
set rnumber=
set rnumber2=
set go=2xgame
goto 2display
) else (
echo Noughts go first
pause>nul
set rnumber=
set rnumber2=
set go=2ogame
goto 2display
)
:2display
cls
echo %d1% %d2% %d3%
echo %d4% %d5% %d6%
echo %d7% %d8% %d9%
if /iequ 9 (goto draw)
echo.
if /i ""=="2ogame" (
echo Nought's Turn
) ELSE (
echo Cross's Turn
)
echo.
goto

:2ogame
echo Choose the number of the space you'd like to choose
set guess=
set /p guess=
if not defined guess goto 2display
set guess=%guess:~0,1%
if /i notleq 9 goto 2display
if /i notgtr 0 goto 2display
if /i !d! neqgoto 2display
goto 2o
:2o1
set o1=1
set d1=O
goto 2oprocess
:2o2
set o2=10
set d2=O
goto 2oprocess
:2o3
set o3=100
set d3=O
goto 2oprocess
:2o4
set o4=1
set d4=O
goto 2oprocess
:2o5
set o5=10
set d5=O
goto 2oprocess
:2o6
set o6=100
set d6=O
goto 2oprocess
:2o7
set o7=1
set d7=O
goto 2oprocess
:2o8
set o8=10
set d8=O
goto 2oprocess
:2o9
set o9=100
set d9=O
goto 2oprocess

:2oprocess
set /a line1= %o1% + %o2% + %o3%
if /i %line1% equ 111 (goto owin)

set /a line2= %o4% + %o5% + %o6%
if /i %line2% equ 111 (goto owin)

set /a line3= %o7% + %o8% + %o9%
if /i %line3% equ 111 (goto owin)

set /a line4= %o1% + %o5% + %o9%
if /i %line4% equ 111 (goto owin)

set /a line5= %o3% + %o5% + %o7%
if /i %line5% equ 111 (goto owin)

set /a line6= %o1% + %o4% + %o7%
if /i %line6% equ 3 (goto owin)

set /a line7= %o2% + %o5% + %o8%
if /i %line7% equ 30 (goto owin)

set /a line8= %o3% + %o6% + %o9%
if /i %line8% equ 300 (goto owin)

set go=2xgame
set guess=
set /a turns=+ 1
goto 2display
:2xgame
echo Choose the number of the space you'd like to choose
set guess=
set /p guess=
if not defined guess goto 2display
set guess=%guess:~0,1%
if /i notleq 9 goto 2display
if /i notgtr 0 goto 2display
if /i !d! neqgoto 2display
goto 2x
:2x1
set x1=1
set d1=X
goto 2xprocess
:2x2
set x2=10
set d2=X
goto 2xprocess
:2x3
set x3=100
set d3=X
goto 2xprocess
:2x4
set x4=1
set d4=X
goto 2xprocess
:2x5
set x5=10
set d5=X
goto 2xprocess
:2x6
set x6=100
set d6=X
goto 2xprocess
:2x7
set x7=1
set d7=X
goto 2xprocess
:2x8
set x8=10
set d8=X
goto 2xprocess
:2x9
set x9=100
set d9=X
goto 2xprocess
:2xprocess
set /a line1= %x1% + %x2% + %x3%
if /i %line1% equ 111 (goto xwin)
set /a line2= %x4% + %x5% + %x6%
if /i %line2% equ 111 (goto xwin)
set /a line3= %x7% + %x8% + %x9%
if /i %line3% equ 111 (goto xwin)
set /a line4= %x1% + %x5% + %x9%
if /i %line4% equ 111 (goto xwin)
set /a line5= %x3% + %x5% + %x7%
if /i %line5% equ 111 (goto xwin)
set /a line6= %x1% + %x4% + %x7%
if /i %line6% equ 3 (goto xwin)
set /a line7= %x2% + %x5% + %x8%
if /i %line7% equ 30 (goto xwin)
set /a line8= %x3% + %x6% + %x9%
if /i %line8% equ 300 (goto xwin)
set go=2ogame
set /a turns=+ 1
goto 2display
:draw
echo.
Echo It's A Draw!
pause>nul
goto menu
:owin
cls
echo %d1% %d2% %d3%
echo %d4% %d5% %d6%
echo %d7% %d8% %d9%
Echo Noughts Win!
pause>nul
goto menu
:xwin
cls
echo %d1% %d2% %d3%
echo %d4% %d5% %d6%
echo %d7% %d8% %d9%
Echo Crosses Win!
Pause>nul
goto menu
:end
set d1=
set d2=
set d3=
set d4=
set d5=
set d6=
set d7=
set d8=
set d9=
set o1=
set o2=
set o3=
set o4=
set o5=
set o6=
set o7=
set o8=
set o9=
set x1=
set x2=
set x3=
set x4=
set x5=
set x6=
set x7=
set x8=
set x9=
set guess=
set turns=
set line1=
set line2=
set line3=
set line4=
set line5=
set line6=
set line7=
set line8=

so just copy all that well hope you get the main idea of coding

This is a game that I used. It was my first game, and i'm self taught. It could usse some improvement, but the basics are all there.

@echo off
Title adventure program
color 0a
:beginning
cls
echo.
echo To play this game, please keep track of all your items, and accomplishments
echo.
echo Select a Direction
echo.
echo.
echo 1) Walk left
echo 2) Walk right
echo.
set /p direction=Type option:
if %direction%==1 goto WalkingLeft
if %direction%==2 goto WalkingRight

:WalkingLeft
cls
echo.
echo You see a pig!
echo.
echo.
echo Select an action
echo 1) Punch the pig
echo 2) Run Away
echo.
set /p action=Type option:
if %action%==1 goto Punchthepig
if %action%==2 goto Run Away

:WalkingRight
cls
echo.
echo You found one gold coin!
echo.
echo.
echo Select a direction
echo.
echo 1) Walk to the Shop
echo 2) Walk Home
echo.
set /p direction=Type option:
if %direction%==1 goto Shop
if %direction%==2 goto Home

:Punchthepig
cls
echo.
echo You killed the pig
echo.
echo.
echo The pig left behind a gold coin
echo.
echo.
echo You picked up the gold coin
echo.
echo.
echo Select walk
echo 1) Walk Home
echo 2) Walk to the Shop
echo 3) Walk to the Field
set /p walk=Type option:
if %walk%==1 goto Home
if %walk%==2 goto Shop
if %walk%==3 goto Field


:Home
cls
echo.
echo You are now at home
echo.
echo.
echo 1) Walk to the Shop
echo 2) Walk to the Field
echo 3) Walk to the Wizard
echo 4) Use a Potion
echo 5) Equip an item
echo 6) Talk to the old Man
echo 7) Explore the Mines
echo 8) Walk to the Village Square
set /p walk=Type option:
if %walk%==1 goto Shop
if %walk%==2 goto Field
if %walk%==3 goto Wizard
if %walk%==4 goto UPotion
if %walk%==5 goto Equip
if %walk%==6 goto OldMan
if %walk%==7 goto Mines
if %walk%==8 goto Village
if %walk%==9 goto Forest
if %walk%==10 goto ARiddle
if %walk%==11 goto AGirl
if %walk%==12 goto Time
if %walk%==13 goto Map


:Time






:Field
cls
echo.
echo You have walked to the Field!
echo.
echo It is full of monsters and animals!
echo.
echo If you do not have a sword, go to the shop and buy one
echo.
echo Choose a monster!
echo.
echo.
echo 1) Pig
echo 2) Cow
echo 3) Chicken
echo 4) Sheep
echo 5) Mooshroom
echo 6) Mermaid
echo 7) Slime Monster
echo 8) Skeleton
echo 9) Witch
echo 10) Golden Golem
echo 11) Wizard
echo 12) Shop
set /p attack=Type option:
if %attack%==1 goto Pig
if %attack%==2 goto Cow
if %attack%==3 goto Chicken
if %attack%==4 goto Sheep
if %attack%==5 goto Mooshroom
if %attack%==6 goto Mermaid
if %attack%==7 goto Slimeball
if %attack%==8 goto Skeleton
if %attack%==9 goto Witch
if %attack%==10 goto GoldenGolem
if %attack%==11 goto Wizard1
if %attack%==12 goto Shop




:Pig
cls
echo.
echo A wild Pig appeared!
echo.
echo.
echo 1) Attack the pig
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto APig
if %wild%==2 goto Home




:APig
cls
echo.
echo You attacked the Pig!
echo.
echo.
echo The Pig Died Q_Q
echo.
echo.
echo The left behind, Experience and Meat!
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home



:Cow
cls
echo.
echo A wild Cow appeared!
echo.
echo.
echo 1) Attack the Cow
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto ACow
if %wild%==2 goto Home


:ACow
cls
echo.
echo You attacked the Cow!
echo.
echo.
echo The Cow Died Q_Q
echo.
echo.
echo The Cow left behind, Experience and Meat!
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home




:Chicken
cls
echo.
echo A wild Chicken appeared!
echo.
echo.
echo 1) Attack the Chicken
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto AChicken
if %wild%==2 goto Home




:AChicken
cls
echo.
echo You attacked the Chicken!
echo.
echo.
echo The Chicken Died Q_Q
echo.
echo.
echo The Chicken left behind, Experience and an Egg!
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home






:Sheep
cls
echo.
echo A wild Sheep appeared!
echo.
echo.
echo 1) Attack the Sheep
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto ASheep
if %wild%==2 goto Home





:ASheep
cls
echo.
echo You attacked the Sheep!
echo.
echo.
echo The Sheep Died Q_Q
echo.
echo.
echo The Sheep left behind, Experience and Wool !
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home





:Mooshroom
cls
echo.
echo A wild Mooshroom appeared!
echo.
echo.
echo 1) Attack the Mooshroom
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto AMooshroom
if %wild%==2 goto Home





:AMooshroom
cls
echo.
echo You attacked the Mooshroom!
echo.
echo.
echo The Mooshroom Died Q_Q
echo.
echo.
echo The Mooshroom left behind, Experience and a Mushroom!
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home



:Mermaid
cls
echo.
echo The Mermaid is Friendly!
echo.
echo.
echo She gave you Coral, and Green Fire!
echo.
echo.
echo You got coral and Green Fire! Congratulations!
PAUSE
goto Home


:Slimeball
cls
echo.
echo A wild Slimeball appeared!
echo.
echo.
echo 1) Attack the Slimeball
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto Slimeball1
if %wild%==2 goto Home





:Slimeball1
cls
echo.
echo You attacked the Slimeball!
echo.
echo.
echo The Slimeball Died
echo.
echo.
echo The Slimeball left behind, Experience and Slime!
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home




:Skeleton
cls
echo.
echo A wild Skeleton appeared!
echo.
echo.
echo 1) Attack the Skeleton
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto Skeleton1
if %wild%==2 goto Home





:Skeleton1
cls
echo.
echo You attacked the Skeleton!
echo.
echo.
echo The Skeleton Died
echo.
echo.
echo The Skeleton left behind, Experience and A bone!
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home



:Witch
cls
echo.
echo A wild Witch appeared!
echo.
echo.
echo 1) Attack the Witch
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto Witch1
if %wild%==2 goto Home





:Witch1
cls
echo.
echo You attacked the Witch!
echo.
echo.
echo The Witch Died :D
echo.
echo.
echo The Witch left behind, Experience and The secret potion!
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home


:GoldenGolem
cls
echo.
echo A wild Golden Golem appeared!
echo.
echo.
echo 1) Attack the Golden Golem
echo 2) Run away
set /p wild=Type option:
if %wild%==1 goto GoldenGolem1
if %wild%==2 goto Home




:GoldenGolem1
cls
echo.
echo You attacked the Golden Golem!
echo.
echo.
echo The Golden Golem Died
echo.
echo.
echo The Golden Golem left behind, Experience and A Gold Coin!
echo.
echo 1) Walk back to the Field
echo 2) Walk Home
set /p wild=Type option:
if %wild%==1 goto Field
if %wild%==2 goto Home




:Wizard1
cls
echo.
echo You found the Wizard!
PAUSE
goto Wizard




:Wizard
cls
echo.
echo You are now in the Wizards' House!
echo.
echo.
echo 1) Talk to the Wizard
echo 2) Walk Home
set /p walk=Type option:
if %walk%==1 goto TalkWizard
if %walk%==2 goto Home


:Shop
cls
echo.
echo You are now at the Shop
echo.
echo.
echo 1) Approach the shopkeeper
echo 2) Walk home
set /p walk=Type option:
if %walk%==1 goto Shopkeeper
if %walk%==2 goto Home



:Shopkeeper
cls
echo.
echo.
echo You approached the shopkeeper
echo.
echo.
echo What would you like to do today?
echo.
echo.
echo 1) Buy something
echo 2) Walk home
set /p walk=Type option
if %walk%==1 goto Buy
if %walk%==2 goto Home


:Buy
cls
echo.
echo.
echo What would you like to buy?
echo.
echo.
echo 1) Short Sword (1 Gold Coin)
echo 2) Long Sword (5 Gold Coins)
echo 3) Meat (2 Gold Coins)
echo 4) Shield (3 Gold Coins)
echo 5) Armor (7 Gold Coins)
set /p buy=Type option
if %buy%==1 goto ShortSword
if %buy%==2 goto LongSword
if %buy%==3 goto Meat
if %buy%==4 goto Shield
if %buy%==5 goto Armor


:ShortSword
cls
echo.
echo.
echo You bought a Short Sword!
echo.
echo.
PAUSE
goto Home



:LongSword
cls
echo.
echo.
echo You bought a Long Sword!
echo.
echo.
PAUSE
goto Home



:Meat
cls
echo.
echo.
echo You bought meat!
echo.
echo.
PAUSE
goto Home




:Shield
cls
echo.
echo.
echo You bought a Sheild!
echo.
echo.
PAUSE
goto Home




:Armor
cls
echo.
echo.
echo You bought Armor!
echo.
echo.
PAUSE
goto Home



:TalkWizard
cls
echo.
echo What would you like to do today?
echo.
echo.
echo 1) Get a Potion!
echo 2) Level Up!
echo 3) Walk home
set /p walk=Type option:
if %walk%==1 goto Potion
if %walk%==2 goto Level
if %walk%==3 goto Home

:Potion
cls
echo.
echo Which Potion?
echo.
echo.
echo 1) Potion 1
echo 2) Potion 2
echo 3) Potion 3
echo 4) Potion 4
echo 5) Potion 5
set /p potion=Type option:
if %potion%==1 goto Potion1
if %potion%==2 goto Potion2
if %potion%==3 goto Potion3
if %potion%==4 goto Potion4
if %potion%==5 goto Potion5



:Potion1
cls
echo.
echo To make this potion, you will need,
echo.
echo Slime
echo.
echo Experience
echo.
echo Coral
echo.
echo What will you do?
echo.
echo 1) Mix and boil the potion
echo 2) Throw the ingredients on the ground
set /p potion=Type option:
if %potion%==1 goto CPotion1
if %potion%==2 goto Death


:Potion2
cls
echo.
echo To make this potion, you will need,
echo.
echo Meat
echo.
echo Experience
echo.
echo Sheild
echo.
echo What will you do?
echo.
echo 1) Mix and boil the potion
echo 2) Throw the ingredients on the ground
set /p potion=Type option:
if %potion%==1 goto CPotion2
if %potion%==2 goto Death




:Potion3
cls
echo.
echo To make this potion, you will need,
echo.
echo Slime
echo.
echo Experience
echo.
echo Wool
echo.
echo What will you do?
echo.
echo 1) Mix and boil the potion
echo 2) Throw the ingredients on the ground
set /p potion=Type option:
if %potion%==1 goto CPotion3
if %potion%==2 goto Death


:Potion4
cls
echo.
echo To make this potion, you will need,
echo.
echo Gold Coin
echo.
echo Experience
echo.
echo Coral
echo.
echo Green Fire
echo.
echo What will you do?
echo.
echo 1) Mix and boil the potion
echo 2) Throw the ingredients on the ground
set /p potion=Type option:
if %potion%==1 goto CPotion4
if %potion%==2 goto Death



:Potion5
cls
echo.
echo To make this potion, you will need,
echo.
echo Meat
echo.
echo Experience
echo.
echo Green Fire
echo.
echo Coral
echo.
echo Mushroom
echo.
echo What will you do?
echo.
echo 1) Mix and boil the potion
echo 2) Throw the ingredients on the ground
set /p potion=Type option:
if %potion%==1 goto CPotion5
if %potion%==2 goto Death




:CPotion1
cls
echo.
echo You have made a Healing potion!
echo.
echo Congratulations!
PAUSE
goto Wizard




:CPotion2
cls
echo.
echo You have made a Strength potion!
echo.
echo Congratulations!
PAUSE
goto Wizard



:CPotion3
cls
echo.
echo You have made A Death potion!
echo.
echo Congratulations!
PAUSE
goto Wizard



:CPotion4
cls
echo.
echo You have made A Riches potion!
echo.
echo Congratulations!
PAUSE
goto Wizard



:CPotion5
cls
echo.
echo You have made A Knowledge potion!
echo.
echo Congratulations!
PAUSE
goto Wizard

:UPotion
cls
echo.
echo Which potion would you like to use?
echo.
echo.
echo 1) Healing Potion
echo 2) Strength Potion
echo 3) Death Potion
echo 4) Riches Potion
echo 5) Knowledge Potion
echo 6) Secret Potion
echo 7) I don't want to use a potion
set /p use=Type option:
if %use%==1 goto UPotion1
if %use%==2 goto UPotion2
if %use%==3 goto UPotion3
if %use%==4 goto UPotion4
if %use%==5 goto UPotion5
if %use%==6 goto USecretPotion
if %use%==7 goto Home

:UPotion1
cls
echo.
echo You used a Healing Potion!
echo.
echo You are fully healed!
echo.
PAUSE
goto Home


:UPotion2
cls
echo.
echo You used a Strength Potion!
echo.
echo You are now Super Strong!
echo.
PAUSE
goto Home

:UPotion3
cls
echo.
echo Are you sure you want to use the Death Potion?
echo.
echo 1) Yes
echo 2) No
set /p use=Type option:
if %use%==1 goto UPotion3A
if %use%==2 goto UPotion


:UPotion3A
cls
echo.
echo You used a Death Potion!
echo.
echo You are now Dead!
echo.
PAUSE
goto Death


:UPotion4
cls
echo.
echo You used a Riches Potion!
echo.
echo You now have 50 Gold Coins!
echo.
PAUSE
goto Home



:UPotion5
cls
echo.
echo You used a Knowledge Potion!
echo.
echo You are now super smart!
echo.
PAUSE
goto Home


:USecretPotion
cls
echo.
echo You used a Secret Potion!
echo.
echo It didn't do anything...
echo.
PAUSE
goto Home

:Level
cls
echo.
echo To level up, you need experience
echo.
echo Do you have experience?
echo.
echo.
echo 1) Yes
echo 2) No
set /p walk=Type option:
if %walk%==1 goto Sure
if %walk%==2 goto Wizard

:Sure
cls
echo.
echo Are you sure?
echo.
echo.
echo 1) Yes
echo 2) No
set /p walk=Type option:
if %walk%==1 goto LevelUp
if %walk%==2 goto Wizard


:LevelUp
cls
echo.
echo The wizard says some strange words
echo.
echo You are suddenly surrounded by glowing light beams!
echo.
echo You leveled up! :D
PAUSE
goto Wizard

:Equip
cls
echo.
echo Equip an item!
echo.
echo Choose an item!
echo.
echo 1) Short Sword
echo 2) Long Sword
echo 3) Shield
echo 4) Armor
set /p equip=Type option:
if %equip%==1 goto ShortSwordE
if %equip%==1 goto LongSwordE
if %equip%==1 goto ShieldE
if %equip%==1 goto ArmorE

:ShortSwordE
cls
echo.
echo You equipped a Short Sword!
echo.
PAUSE
goto Home


:LongSwordE
cls
echo.
echo You equipped a Long Sword!
echo.
PAUSE
goto Home



:ShieldE
cls
echo.
echo You equipped a Shield Sword!
echo.
PAUSE
goto Home



:ArmorE
cls
echo.
echo You equipped a Armor Sword!
echo.
PAUSE
goto Home





:Death
cls
echo.
echo The World blew up, and you died
echo.
PAUSE
goto beginning


:Run Away
cls
echo.
echo PANSY!
echo.
PAUSE
EXIT



:OldMan
cls
echo.
echo You have approached the old man
echo.
echo.
echo 1) Talk to the Old Man
echo 2) Go Home
set /p talk=Type option
if %talk%==1 goto Toldman
if %talk%==2 goto Home



:Toldman
cls
echo.
echo Old man: Ehhhhhh...... What was that sonny?
echo.
echo.
echo Old man: You want to hear a riddle...?
echo.
echo 1)Yes
echo 2)No
set /p talk=Type option
if %talk%==1 goto Riddle1
if %talk%==2 goto Home




:Riddle1
cls
echo.
echo Old man: Ehhhhhh........ Which riddle do you want to hear...?
echo.
echo.
echo 1) Riddle 1
echo 2) Riddle 2
echo 3) Riddle 3
echo 4) Riddle 4
echo 5) Riddle 5
echo 6) Riddle 6
echo 7) Riddle 7
echo 8) Riddle 8
echo 9) Riddle 9
echo 10) Riddle 10
echo 11) Go home
set /p riddle=Type option
if %riddle%==1 goto Riddle01
if %riddle%==2 goto Riddle2
if %riddle%==3 goto Riddle3
if %riddle%==4 goto Riddle4
if %riddle%==5 goto Riddle5
if %riddle%==6 goto Riddle6
if %riddle%==7 goto Riddle7
if %riddle%==8 goto Riddle8
if %riddle%==9 goto Riddle9
if %riddle%==10 goto Riddle10
if %riddle%==11 goto Home

:Riddle01
cls
echo.
echo Give it food, and it will live... Give it water, and it will Die... What is it?
echo.
echo Type out the answer
echo.
echo If you do not know the answer, type 1
set /p yes=Type option:
if %yes%==Fire goto ARiddle1
if %yes%==1 goto Riddle1



:Riddle2
cls
echo.
echo The more you take the more you leave behind. What is it?
echo.
echo Type out the answer
echo.
echo If you do not know the answer, Type 1
set /p yes=Type option:
if %yes%==Footsteps goto ARiddle2
if %yes%==1 goto Riddle1


:Riddle3
cls
echo.
echo What is so fragile, that when you say it's name, you break it?
echo.
echo Type out the answer
echo.
echo If you do not know the answer, Type 1
set /p yes=Type option:
if %yes%==Silence goto ARiddle3
if %yes%==1 goto Riddle1



:Riddle4
cls
echo.
echo What animal walks on all fours in the morning, two in the afternoon and three in the evening?
echo.
echo Type out the answer
echo.
echo If you do not know the answer, Type 1
set /p yes=Type option:
if %yes%==Man goto ARiddle4
if %yes%==1 goto Riddle1




:Riddle5
cls
echo.
echo It cannot be seen, cannot be felt, Cannot be heard, cannot be smelt. It lies behind stars and under hills, And empty holes it fills. It comes first and follows after, Ends life, kills laughter. What is it?
echo.
echo Type out the answer
echo.
echo If you do not know the answer, Type 1
set /p yes=Type option:
if %yes%==Darkness goto ARiddle5
if %yes%==1 goto Riddle1




:Riddle6
cls
echo.
echo This thing all things devours: Birds, beasts, trees, flowers; Gnaws iron, bites steel; Grinds hard stones to meal; Slays king, ruins town, And beats high mountain down. What is it?
echo.
echo Type out the answer
echo.
echo If you do not know the answer, Type 1
set /p yes=Type option:
if %yes%==Time goto ARiddle6
if %yes%==1 goto Riddle1




:Riddle7
cls
echo.
echo A box without hinges, key or lid, Yet golden treasure inside is hid. What is it?
echo.
echo Type out the answer
echo.
echo If you do not know the answer, Type 1
set /p yes=Type option:
if %yes%==Egg goto ARiddle7
if %yes%==1 goto Riddle1





:Riddle8
cls
echo.
echo What has roots as nobody sees, Is taller than trees Up, up it goes, And yet never grows?
echo.
echo Type out the answer
echo.
echo If you do not know the answer, Type 1
set /p yes=Type option:
if %yes%==Mountain goto ARiddle8
if %yes%==1 goto Riddle1




:Riddle9
cls
echo.
echo Thirty white horses on a red hill, First they champ, Then they stamp, Then they stand still.
echo.
echo Type out the answer
echo.
echo If you do not know the answer, Type 1
set /p yes=Type option:
if %yes%==Teeth goto ARiddle9
if %yes%==1 goto Riddle1



:Riddle10
cls
echo.
echo.
echo This is the most difficult riddle...
echo.
echo You are in a building that is made completely of cement. There are no doors, and no windows... You cannot break through the floor or ceiling or walls. You have a desk and a mirror. How do you get out?
echo.
echo To solve this riddle, you have to type out the entire answer, with no spaces
echo.
echo You only get one chance to solve this riddle. Press 1 if you do not know the answer
echo.
set /p solve=Type option:
if %solve%==Youlookintothemirror,seewhatyousaw,soyoutakethesaw,andcutthedeskinhalf,becausetwohalvesmakeawhole,soyouputtheholeonthewall,andthenyouwalkout goto RiddleA
if %solve%==1 goto Home




:ARiddle1
cls
echo.
echo You are correct!
echo.
echo The old man gives you A Key
PAUSE
goto Riddle1


:ARiddle2
cls
echo.
echo You are correct!
echo.
echo The old man gives you A pocketwatch
echo.
echo Type 12 into your home option menu to check the time
PAUSE
goto Riddle1



:ARiddle3
cls
echo.
echo You are correct!
echo.
echo The old man gives you Green Fire
PAUSE
goto Riddle1


:ARiddle4
cls
echo.
echo You are correct!
echo.
echo The old man gives you A Map
echo.
echo Type 13 into your home option menu to look at the map
PAUSE
goto Riddle1


:ARiddle5
cls
echo.
echo You are correct!
echo.
echo The old man tells you that knowledge comes from your heart
PAUSE
goto Riddle1


:ARiddle6
cls
echo.
echo You are correct!
echo.
echo The old man mumbles something about a quest
PAUSE
goto Riddle1


:ARiddle7
cls
echo.
echo You are correct!
echo.
echo The old man gives you an Egg
PAUSE
goto Riddle1



:ARiddle8
cls
echo.
echo You are correct!
echo.
echo The old man gives you Coral
PAUSE
goto Riddle1



:ARiddle9
cls
echo.
echo You are correct!
echo.
echo The old man gives you another key
PAUSE
goto Riddle1




:Forest
cls
echo.
echo You are now at the forest!
echo.
echo 1) Walk forward
echo 2) Walk left
echo 3) Walk right
set /p walk=Type option:
if %walk%==1 goto Home
if %walk%==2 goto Home
if %walk%==3 goto Home
if %walk%==Tree Home






:Mines
cls
echo.
echo.
echo You have walked to the mines
echo.
echo You are in the mines
echo.
echo 1) Dig Down
echo 2) Dig Left
echo 3) Dig Right
echo 4) Walk Home
set /p dig=Type option
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Home


:ARiddle
cls
echo.
echo Youlookintothemirror,seewhatyousaw,soyoutakethesaw,andcutthedeskinhalf,becausetwohalvesmakeawhole.Soyouputtheholeonthewall,andthenyouwalkout
echo.
PAUSE
goto Home


:RiddleA
cls
echo.
echo D,D,D,D,D,D,D,D,L,R,R,L,D,D,D,D,R,R,L,L,L,D,
echo.
echo Old man: That is the path you need to take... To reach, The Epicus Ultima



:Village
cls
echo.
echo You have walked to the Village Square
echo.
echo.
echo Who would you like to talk to?
echo.
echo 1) George
echo 2) Alexis
echo 3) Zeke
echo 4) Mariah
echo 5) James
echo 6) Samantha
echo 7) I don't want to talk to anyone
set /p talk=Type option:
if %talk%==1 goto NPC1
if %talk%==2 goto NPC2
if %talk%==3 goto NPC3
if %talk%==4 goto NPC4
if %talk%==5 goto NPC5
if %talk%==6 goto NPC6
if %talk%==7 goto Home




:NPC1
cls
echo.
echo Talk to George?
echo.
echo 1) Yes
echo 2) No
set /p question=Type option:
if %question%==1 goto NPC1A
if %question%==2 goto Village




:NPC2
cls
echo.
echo Talk to Alexis?
echo.
echo 1) Yes
echo 2) No
set /p question=Type option:
if %question%==1 goto NPC2A
if %question%==2 goto Village



:NPC3
cls
echo.
echo Talk to Zeke?
echo.
echo 1) Yes
echo 2) No
set /p question=Type option:
if %question%==1 goto NPC3A
if %question%==2 goto Village


:NPC4
cls
echo.
echo Talk to Mariah?
echo.
echo 1) Yes
echo 2) No
set /p question=Type option:
if %question%==1 goto NPC4A
if %question%==2 goto Village


:NPC5
cls
echo.
echo Talk to James?
echo.
echo 1) Yes
echo 2) No
set /p question=Type option:
if %question%==1 goto NPC5A
if %question%==2 goto Village


:NPC6
cls
echo.
echo Talk to Samantha?
echo.
echo 1) Yes
echo 2) No
set /p question=Type option:
if %question%==1 goto NPC6A
if %question%==2 goto Village


:NPC1A
cls
echo.
echo Hello. Would you like to listen to my stories?
echo.
echo 1) Yes
echo 2) No
set /p listen=Type option:
if %listen%==1 goto NPC1B
if %listen%==2 goto Village


:NPC2A
cls
echo.
echo Hello. Would you like to listen to my stories?
echo.
echo 1) Yes
echo 2) No
set /p listen=Type option:
if %listen%==1 goto NPC2B
if %listen%==2 goto Village


:NPC3A
cls
echo.
echo Hello. Would you like to listen to my stories?
echo.
echo 1) Yes
echo 2) No
set /p listen=Type option:
if %listen%==1 goto NPC3B
if %listen%==2 goto Village

:NPC4A
cls
echo.
echo Hello. Would you like to listen to my stories?
echo.
echo 1) Yes
echo 2) No
set /p listen=Type option:
if %listen%==1 goto NPC4B
if %listen%==2 goto Village


:NPC5A
cls
echo.
echo Hello. Would you like to listen to my stories?
echo.
echo 1) Yes
echo 2) No
set /p listen=Type option:
if %listen%==1 goto NPC5B
if %listen%==2 goto Village


:NPC6A
cls
echo.
echo Hello. Would you like to listen to my stories?
echo.
echo 1) Yes
echo 2) No
set /p listen=Type option:
if %listen%==1 goto NPC6B
if %listen%==2 goto Village






:NPC1B
cls
echo.
echo In the mines, you will find, a girl lost at nine
echo.
echo.
PAUSE
goto Village



:NPC2B
cls
echo.
echo For you, I will sing a song.
echo.
echo In the forest strolling, the birds in the trees sing Momiji! The frogs in the pond are calling, Momiji, yes it's true!
echo.
echo.
PAUSE
goto Village



:NPC3B
cls
echo.
echo For you, I tell of a tale. A tale of a Quest. This Quest is called, The Epicus Ultima. Talk to James and Mariah for more information
echo.
echo.
PAUSE
goto Village


:NPC4B
cls
echo.
echo Zeke sent you, huh? Alright... I'll give you part of the quest directions. In the mines, there is a cave... A cave which no man has entered...
echo.
echo.
PAUSE
goto Village


:NPC5B
cls
echo.
echo So, you want to know about the Epicus Ultima, huh? Well... Then I only have one piece of advice... You will need a Holy Hand Grenade... Move along now...
echo.
echo.
PAUSE
goto Village



:NPC6B
cls
echo.
echo The old man has a riddle... A riddle to which you probably cannot solve... To solve a riddle, sometimes, you have to start from home
echo.
echo.
PAUSE
goto Village



:DigDown1
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown2
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigDown2
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown3
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigDown3
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown4
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigDown4
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown5
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines



:DigDown5
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown6
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigDown6
cls
echo.
echo you have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown7
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines



:DigDown7
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown8
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines



:DigDown8
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown9
if %dig%==2 goto DigLeft8A
if %dig%==3 goto DigRight
if %dig%==4 goto Mines



:DigDown9
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown10
if %dig%==2 goto Girl
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines




:DigDown10
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown11
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines




:DigDown11
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown12
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines



:DigDown12
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown13
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines




:DigDown13
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown14
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines




:DigDown14
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown15
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines




:DigDown15
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown16
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines




:DigDown16
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown17
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigRight1
cls
echo.
echo You have dug right
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigDown17
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto Bedrock
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines




:DigLeft1
cls
echo.
echo You have dug left
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigLeft8A
cls
echo.
echo You have dug left
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight8B8
if %dig%==4 goto Mines



:DigRight8B8
cls
echo.
echo You have dug right
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight8C8
if %dig%==4 goto Mines

:DigRight8C8
cls
echo.
echo You have dug right
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft8A8
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigLeft8A8
cls
echo.
echo You have dug left
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown9A9
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigDown9A9
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown10A10
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigDown10A10
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown11A11
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines



:DigDown11A11
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown12A12
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines


:DigDown12A12
cls
echo.
echo You have dug down
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight12B12
if %dig%==4 goto Mines

:DigRight12B12
cls
echo.
echo You have dug Right
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight12C12
if %dig%==4 goto Mines

:DigRight12C12
cls
echo.
echo You have dug Right
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft12A12
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines



:DigLeft12A12
cls
echo.
echo You have dug Left
echo.
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft12B12
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines

:DigLeft12B12
cls
echo.
echo You have dug Left
echo.
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto DigDown1
if %dig%==2 goto DigLeft12C12
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines



:DigLeft12C12
cls
echo.
echo You have dug Left
echo.
echo.
echo 1) Dig down
echo 2) Dig left
echo 3) Dig right
echo 4) Go back to the surface
set /p dig=Type option:
if %dig%==1 goto Epicus
if %dig%==2 goto DigLeft1
if %dig%==3 goto DigRight1
if %dig%==4 goto Mines



:Epicus
cls
echo.
echo You enter a room, glowing, with rocks all around, the walls glowing
echo.
echo.
echo An immensely large iron golem comes out of the wall
echo.
echo Iron Golem: Do you have the key?!
echo.
echo 1) Yes
echo 2) No
set /p yes=Type option:
if %yes%==1 goto Epicus1
if %yes%==2 goto Mines



:Epicus1
cls
echo.
echo.
echo Iron Golem: If you are lying, I will murder you!!
echo.
echo Do you really have the key?
echo.
echo 1) Yes
echo 2) No
set /p yes=Type option:
if %yes%==1 goto Epicus2
if %yes%==2 goto Mines

:Epicus2
cls
echo.
echo You show the Iron Golem the key, and he moves aside, revealing a passageway
echo.
echo Walk through the passageway?
echo.
echo 1) Yes
echo 2) No
set /p yes=Type option:
if %yes%==1 goto Epicus3
if %yes%==2 goto Mines

:Epicus3
cls
echo.
echo You walk through the passageway, which leads to an immensely large room, the walls glowing faintly, with a small keyhole in the center of a wall
echo.
echo Put the key into the keyhole?
echo.
echo 1) Yes
echo 2) No
set /p yes=Type option:
if %yes%==1 goto EpicusUltima
if %yes%==2 goto Insane
if %yes%==3 goto Home

:Insane
cls
echo.
echo What are you insane?! PUT IT IN!
echo.
PAUSE
goto Epicus3


EpicusUltima
cls
echo.
echo You put the key in the keyhole, and suddenly the walls glow incredibly bright, and the keyhole opens up to be a black hole! You get sucked into the black hole, as all the walls around you crumble, also going into the hole. Suddenly, everything stops swirling. You are encased in blackness... in stars...
echo.
PAUSE
echo YOU HAVE BEATEN THE GAME!!!
echo.
echo Play again?
echo.
echo 1) Play again
echo 2) Keep playing, with more options
echo 3) Quit
set /p play=Type option:
if %play%==1 goto Beginning
if %play%==2 goto Home2
if %play%==3 goto Run Away


:Girl
cls
echo.
echo A girl walks up to you
echo.
echo Girl: H-hello...? C-can you help me...?
echo.
echo Help the girl?
echo.
echo 1) Yes
echo 2) No
set /p yes=Type option:
if %yes%==1 goto Girl2
if %yes%==2 goto Mines


:Girl2
cls
echo.
echo Girl: She runs up and hugs you Oh thank you! I've been stuck down here for the longest time!
echo.
echo (To talk to the girl, go home, and enter 11 into the option menu)
echo.
PAUSE
goto Home









:Bedrock
cls
echo.
echo You hit bedrock
echo.
PAUSE
goto Mines