Finally I have made a game without scratch. I made a quiz game for MS DOS Please note that you need windows to run this. how to run it copy this script into a new notepad document (.txt) then save it as a .bat:
@echo off
:menu
cls
echo Hello! welcome! This is a program developed by Benjamon. (BenPProductions)
echo This is a quiz game
echo 1) Start!
echo 2) Info
set /p letter=
goto think
:think
if %letter% == 1 goto startgame
if %letter% == 2 goto Info
:startgame
echo Who are you?
set /p name=
echo Welcome %name%!
echo do you wish to start? (y/n)
set /p start=
if %start% == y goto 1v11
if %start% == n goto menu
goto startgame
:1v11
cls
echo alright. now for the quiz...
echo Who is on the two dollar bill?
echo 1) Ben Franklin
echo 2) Frank Eisenhower
echo 3) Thomas Jefferson
echo 4) Mike Osborne
set /p dp=
if %dp% == 1 goto wr1
if %dp% == 2 goto wr1
if %dp% == 3 goto cr1
if %dp% == 4 goto wr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v12
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v11
if %da% == n goto menu
:1v12
cls
echo alright. now for the next question...
echo In lord of the Rings, The creature named gollum is also named what?
echo 1) Gilligan
echo 2) Smeagol
echo 3) Gollette
echo 4) Finnigan
set /p dp=
if %dp% == 1 goto wr1
if %dp% == 2 goto cr1
if %dp% == 3 goto wr1
if %dp% == 4 goto wr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v13
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v12
if %da% == n goto menu
:1v13
cls
echo alright. now for the next question...
echo What is the scientific term for a place where tectonic plates collide?
echo 1) Earthquake Zone
echo 2) Divergent Boundary
echo 3) Scary place
echo 4) Convergent Boundary
set /p dp=
if %dp% == 1 goto wr1
if %dp% == 2 goto wr1
if %dp% == 3 goto wr1
if %dp% == 4 goto cr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v14
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v13
if %da% == n goto menu
:1v14
cls
echo alright. now for the next question...
echo how many stars were on the American flag in the time of the revolutionary war?
echo 1) 13
echo 2) 50
echo 3) 25
echo 4) 15
set /p dp=
if %dp% == 1 goto cr1
if %dp% == 2 goto wr1
if %dp% == 3 goto wr1
if %dp% == 4 goto wr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v15
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v14
if %da% == n goto menu
:1v15
cls
echo Your doing Great %name%. now for the next question...
echo Who composed the march, Stars and Stripes Forever?
echo 1) Irving Berlin
echo 2) John Philip Sousa
echo 3) Elvis Prestly
echo 4) John Stafford Smith
set /p dp=
if %dp% == 1 goto wr1
if %dp% == 2 goto cr1
if %dp% == 3 goto wr1
if %dp% == 4 goto wr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v16
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v15
if %da% == n goto menu
:1v16
cls
echo alright. now for the next question...
echo Apple's first UI based computer was the what?
echo 1) Macintosh LC
echo 2) PowerPC
echo 3) Apple 2
echo 4) Apple Lisa
set /p dp=
if %dp% == 1 goto wr1
if %dp% == 2 goto wr1
if %dp% == 3 goto wr1
if %dp% == 4 goto cr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v17
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v16
if %da% == n goto menu
:1v17
cls
echo Great. now for the next question...
echo What's Ben's Favorite color?
echo 1) Royal Blue
echo 2) Red
echo 3) Hunter Green
echo 4) Mustard Yellow
set /p dp=
if %dp% == 1 goto cr1
if %dp% == 2 goto wr1
if %dp% == 3 goto wr1
if %dp% == 4 goto wr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v18
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v17
if %da% == n goto menu
:1v18
cls
echo alright. now for the next question...
echo What is the fastest street legal car in the world?
echo 1) Ferrari f430
echo 2) Mclaren F1
echo 3) BMW M6
echo 4) Bugatti Veyron
set /p dp=
if %dp% == 1 goto wr1
if %dp% == 2 goto wr1
if %dp% == 3 goto wr1
if %dp% == 4 goto cr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v19
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v18
if %da% == n goto menu
:1v19
cls
echo alright. now for the next question...
echo When was Microsoft established?
echo 1) 1975
echo 2) 1982
echo 3) 1963
echo 4) 1996
set /p dp=
if %dp% == 1 goto cr1
if %dp% == 2 goto wr1
if %dp% == 3 goto wr1
if %dp% == 4 goto wr1
:cr1
echo you're correct! go to next level? (y/n)
set /p nl=
if %nl% == y goto 1v20
if %nl% == n goto menu
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v19
if %da% == n goto menu
:1v20
cls
echo alright. time for the last question...
echo What does Alle Arbeit und kein Spiel macht Jack einen stumpfen Jungen mean in english?
echo 1) All work and no play makes Jack a Dull boy
echo 2) May the force be with you.
echo 3) That is terrifying
echo 4) Don't jump off the roof you'll hurt yourself
set /p dp=
if %dp% == 1 goto cr1
if %dp% == 2 goto wr1
if %dp% == 3 goto wr1
if %dp% == 4 goto wr1
:cr1
echo you're correct! You have Won! Do you want to return to the menu now? (y/n)
set /p nl=
if %nl% == y goto menu
if %nl% == n pause
:wr1
echo You were wrong do you want to retry? (y/n)
set /p da=
if %da% == y goto 1v20
if %da% == n goto menu
:Info
cls
echo To select an answer, push the number the answer has next to it
echo Type y when you're ready to go to the menu. (y)
echo for some reason help crashes DOS. just restart it.
set /p incl=
if %incl% == y
goto menu
Offline