@echo off
color b0
:menu
cls
echo Hey! Welcome to the game!
echo 1) start!
echo 2) how to play
echo 3) Exit
set /p number=

if %number% == 1 goto StartGame
if %number% == 2 goto help
if %number% == 3 goto exit

:startgame
cls
echo Type your name:
set /p name=
echo Hello %name%!
echo Nitya is Asking that,do you want to start the quiz? (y/n)
set /p start=
if %start% == y goto level1
if %start% == n goto menu
goto startgame

:findhelp
cls
echo Press the number of the answer then hit enter.
echo go back? (y/n)
set /p mentgoto=
if %menugoto%== y goto menu
if %menugoto% ==n goto exit
goto help

:exit
goto exit

:level1
cls okay, Let's Start.
echo What is 10 + 112
echo 1) 125
echo 2) 122
echo 3) 120
set /p answer1=
if %answer1% == 1 goto wrong1
if %answer1% == 1 goto correct1
if %answer1% == 1 goto wrong1

:correct1
echo You are right! Next Level? (y/n)
set /p NL1=

if %NL1% == y goto level2
if %NL1% == n goto menu
goto correct1

:wrong1
Echo Sadly, you were wrong so before you play again,subscribe to Oa Math Editing and you can do Retry by:::? (y/n)
set /p WA1=
if %WA1% == y goto level1
if %WA1% == n goto menu
goto wrong1

:level2
cls
echo Who is Director of Oa Math Editing
echo 1) Mohan Thapa
echo 2) Nitya Poudel
echo 3) Mohin Thapa
echo 4) Animesh Poudel
set /p aa=
if %aa% == 1 goto wrong2
if %aa% == 2 goto wrong2
if %aa% == 3 goto correct2
if %aa% == 4 goto wrong2
goto correct2
:correct2
cls
echo You are right! Next level? (y/n)
set /p ka=
if %ka% == y goto level3
if %ka% == n goto menu

:wrong2
cls
echo Sadly, you were wrong so before you play again,subscribe to Oa Math Editing and you can do Retry by:::? (y/n)
set/p retry=
if %retry% == y goto level3
if %retry% == n goto level2

:level3
cls
echo The full form of OME is -:
echo 1) Oa Magic The Editing
echo 2) Oa Math Editing
echo 3) Oa Mula Editing
set /p ka=
if %ka% == 1) goto wrong3
if %ka% == 2) goto correct3
if %ka% == 3) goto wrong3
goto correct3

:correct3
echo You are correct!You won the game!!
goto exit

:wrong3
cls
echo sadly, you were wrong Retry? (y/n)
set/p retry=
if %retry% == y goto level3
if %retry% == n goto exit

Comments

Most Popular Post

Detective Suryanarayan : THE END

The Adventure of Surya Narayan (AOS)