Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,156,412 members, 7,830,091 topics. Date: Thursday, 16 May 2024 at 04:00 PM

How To Make A Cmd Movement Game - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How To Make A Cmd Movement Game (439 Views)

I Never Knew Command Prompt (CMD) Is This Simple [watch Free Video] / Lock Your PC Automatically With CMD After Entering Wrong Password / HACHS - Command Promt (CMD) Tutorials (2) (3) (4)

(1) (Reply) (Go Down)

How To Make A Cmd Movement Game by Cobi9260: 6:30pm On Jun 06, 2020
Guys it is not really hard u just need to type this code.


echo off
set "location=#@ /"
echo Move with a and d. @ is you. You is @. Get to the door. I repeat, the door.
echo ###################
echo %location%
echo ###################
goto :movement

:movement
choice /c ad /n
if %errorlevel% equ 1 goto :left
if %errorlevel% equ 2 goto :right
goto :movement

:left
if pos==1 set /a pos=1
if pos<1 set /a pos-=1
goto :position

:right
if pos==17 goto :endlevel
if pos>18 set /a pos+=1
goto :position

:position
if pos=1 set "location=#@ |"
if pos=2 set "location=# @ |"
if pos=3 set "location=# @ |"
if pos=4 set "location=# @ |"
if pos=5 set "location=# @ |"
if pos=6 set "location=# @ |"
if pos=7 set "location=# @ |"
if pos=8 set "location=# @ |"
if pos=9 set "location=# @ |"
if pos=10 set "location=# @ |"
if pos=11 set "location=# @ |"
if pos=12 set "location=# @ |"
if pos=13 set "location=# @ |"
if pos=14 set "location=# @ |"
if pos=15 set "location=# @ |"
if pos=16 set "location=# @ |"
if pos=17 set "location=# @|"
if pos=18 set "location=# /"
goto :print

:print
cls
echo Move with a and d. @ is you. You is @. Get to the door. I repeat, the door.
echo ###################
echo %location%
echo ###################
goto :movement

:endlevel
echo Move with a and d. @ is you. You is @. Get to the door. I repeat, the door.
echo ###################
echo # /
echo ###################
>nul timeout 2
echo That's quite some skills you have.
pause
cls
goto :end

:end
echo woo.
pause
Re: How To Make A Cmd Movement Game by Cobi9260: 6:31pm On Jun 06, 2020
It really helped me
Re: How To Make A Cmd Movement Game by SirMichael1: 6:37pm On Jun 06, 2020
Cobi9260:
It really helped me
how?
Re: How To Make A Cmd Movement Game by Cobi9260: 6:57pm On Jun 06, 2020
I did it and I got a simple job
Re: How To Make A Cmd Movement Game by Cobi9260: 6:57pm On Jun 06, 2020
Give me ur phone number

(1) (Reply)

Help With Full Stack Web Development / Wordpress Developers Should Face The Reality / Laravel VS Codeigniter

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.