A Maze That Barely Works.
![mazething.PNG](/proxy/?url=https://content.instructables.com/FEM/HUWS/KVWRJ2VV/FEMHUWSKVWRJ2VV.png&filename=mazething.PNG)
![mazething.PNG](/proxy/?url=https://content.instructables.com/F4D/FNYC/KVWRJ2VH/F4DFNYCKVWRJ2VH.png&filename=mazething.PNG)
This is a game that I made because I felt the need to make a game on Notepad.
Supplies
![cmdprompt.PNG](/proxy/?url=https://content.instructables.com/F1U/9T6D/KZ9ULG27/F1U9T6DKZ9ULG27.png&filename=cmdprompt.PNG)
You will need notepad, the complex knowledge of knowing how to copy and paste, and tolerance for my jokes.
(This game has been updated and fixed!)
The Part That Hurts
![cmdprompt.PNG](/proxy/?url=https://content.instructables.com/F2L/1DTK/KZ9ULG2E/F2L1DTKKZ9ULG2E.png&filename=cmdprompt.PNG)
Copy and paste between the stars and name the file Maze.bat
Notice, There are three options for mazes but only one maze is functional.
***********************************************
@echo off
Title Maze Runner
:top
set key=0
set Knum=0
echo -----------------------------------------------
echo Welcome to Maze Runner!
echo.
echo This game was created by NotePro
echo -----------------------------------------------
echo choose your maze (use WASD to move)
echo.
echo 1) maze 1
echo 2) maze 2
echo 3) maze 3
choice /c 123 /n
if %errorlevel% == 1 goto Mone
if %errorlevel% == 2 goto Mone
if %errorlevel% == 3 goto Mone
:fail
cls
echo make sure you are using WASD for directions
echo and dont run into walls!
pause
goto start
:T
pause
if %key% GTR %Knum% goto escape
if %key%==%Knum% goto Lock
pause
:escape
cls
echo YOU ESCAPED!!!
pause
goto top
:Lock
echo LOCKED
pause
goto Mone
:Mone
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
pause
goto start
:start
cls
echo ######################
echo # #
echo # ####### ####### #
echo $ # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto one
if %errorlevel% == 2 goto T
if %errorlevel% == 3 goto twelve
if %errorlevel% == 4 goto 100
:one
cls
echo ######################
echo # #
echo #$ ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto two
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto start
if %errorlevel% == 4 goto fail
:two
cls
echo ######################
echo #$ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto one
if %errorlevel% == 4 goto three
:twelve
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo #$ ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto start
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto thirteen
if %errorlevel% == 4 goto fail
:thirteen
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo #$ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto twelve
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto fourteen
:fourteen
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto thirteen
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto fifteen
:fifteen
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto fourteen
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto sixteen
:sixteen
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto fifteen
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto seventeen
:seventeen
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto sixteen
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto eighteen
:eighteen
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto 700
if %errorlevel% == 2 goto seventeen
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto nineteen
:nineteen
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto eighteen
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto twenty
:twenty
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto nineteen
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto twenty1
:twenty1
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto twenty
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto twenty2
:twenty2
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # $ #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto
if %errorlevel% == 2 goto twenty1
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto fail
:three
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto two
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto four
:four
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto three
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto five
:five
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto four
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto six
:six
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto five
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto seven
:seven
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto six
if %errorlevel% == 3 goto 200
if %errorlevel% == 4 goto eight
:eight
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto seven
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto nine
:nine
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto eight
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto ten
:ten
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto nine
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto eleven
:eleven
cls
echo ######################
echo # $ #
echo # ####### ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto ten
if %errorlevel% == 3 goto 400
if %errorlevel% == 4 goto fail
:1300
cls
echo ######################
echo # #
echo # ####### ####### #
echo #$ #
echo # ####### ####### #
echo # #
echo ######################
set key=1
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto 1200
:1200
cls
echo ######################
echo # #
echo # ####### ####### #
echo # $ #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto 1300
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto 300
:300
cls
echo ######################
echo # #
echo # ####### ####### #
echo # $ #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto 200
if %errorlevel% == 2 goto 1200
if %errorlevel% == 3 goto 700
if %errorlevel% == 4 goto 1100
:1100
cls
echo ######################
echo # #
echo # ####### ####### #
echo # $ #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto 300
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto 1000
:1000
cls
echo ######################
echo # #
echo # ####### ####### #
echo # $ #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto 1100
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto 900
:900
cls
echo ######################
echo # #
echo # ####### ####### #
echo # $ #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto 1000
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto 800
:800
cls
echo ######################
echo # #
echo # ####### ####### #
echo # $ #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto 900
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto 500
:500
cls
echo ######################
echo # #
echo # ####### ####### #
echo # $ #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto 400
if %errorlevel% == 2 goto 800
if %errorlevel% == 3 goto 600
if %errorlevel% == 4 goto fail
:200
cls
echo ######################
echo # #
echo # #######$ ####### #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto seven
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto 300
if %errorlevel% == 4 goto fail
:700
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # #######$ ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto 300
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto eighteen
if %errorlevel% == 4 goto fail
:400
cls
echo ######################
echo # #
echo # ####### #######$ #
echo # #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto eleven
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto 500
if %errorlevel% == 4 goto fail
:600
cls
echo ######################
echo # #
echo # ####### ####### #
echo # #
echo # ####### #######$ #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto 500
if %errorlevel% == 2 goto fail
if %errorlevel% == 3 goto twenty2
if %errorlevel% == 4 goto fail
:100
cls
echo ######################
echo # #
echo # ####### ####### #
echo $# #
echo # ####### ####### #
echo # #
echo ######################
choice /c wasd /n
if %errorlevel% == 1 goto fail
if %errorlevel% == 2 goto start
if %errorlevel% == 3 goto fail
if %errorlevel% == 4 goto fail
***************************************************************
Well, that was a lot
Test the Maze
![cmdprompt.PNG](/proxy/?url=https://content.instructables.com/FEE/6I10/KZ9ULG2Q/FEE6I10KZ9ULG2Q.png&filename=cmdprompt.PNG)
You may notice that if you type a letter that is not lowercase or not w, a, s, d, you will not actually move correctly through the maze. You also may realize that you have to hit enter every time. Please tell me if you can fix this.
Thank you ezman for showing me how to improve this maze! You are now able to press WASD to instantly move!
one last thing: there is one space that you have to go on to unlock the door to the exit.
(Remember to save the file with the extension .bat)