I AM TRYING TO MAKE A SIMPLE TEXT MAZE IN A BATCH FILE. BUT MY "IF" AND "GOTO" COMMANDS ARE NOT WORKING. THE PROGRAM JUST GOES WHERE IT WANTS AND NOT WHERE I SPECIFY... HERE IS A SAMPLE OF WHAT I HAVE, THAT ISNT WORKING.
:F
set /p answer= you are alone in the jungle surrounded by trees. the path leading north is blocked off by a fallen tree, the path leading east is dry and cracked earth, the path to the south is quiet and peaceful, and in the west there is a volcano looming on the horrizon. which direction will you go, e,s, or w
if directionchosen ==w goto D
if directionchosen ==W goto D
if directionchosen ==s goto I
if directionchosen ==S goto I
if directionchosen ==e goto G
if directionchosen ==E goto G
:D
set /p answer= there is a massive volcano right in front of you.there is a rocky path to your north, a path with trees to your east, and the sound of running water to your south. there is a large and indestructable wall blocking any paths leading west. NO MORE SPACE :(
1
Expert's answer
2012-11-12T08:15:30-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment