code
@echo off
:Menu
cls
echo Welcome To All Mighty Tech Quiz Game!
pause >nul
echo.
echo Quiz Game
echo Press 1 to start and 2 to exit from game.
echo.
echo 1.Start it up!
echo 2.Exit :(
echo.
set /p input=Enter:
if "%input%" == "1" goto Start
if "%input%" == "2" exit
:Start
cls
set /p name=Insert Your Full Name?:
goto lvl1
:lvl1
cls
echo Hello, %name% AMT is processing for the game now press enter button to start the game.
pause >nul
cls
echo Here goes the first question to you
pause >nul
cls
echo.
echo Your 1st Question Is
echo.
echo who is the creator of Minecraft?
echo.
echo 1. Notch
echo 2. Bob
echo 3. Jeb
echo 4. Steve
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto CORRECT1
if "%input%" == "2" goto WRONG1
if "%input%" == "3" goto WRONG1
if "%input%" == "4" goto WRONG1
:CORRECT1
cls
echo You got it right!
pause >nul
goto lvl2
:WRONG1
cls
echo retry!
pause >nul
goto lvl1
:lvl2
cls
echo.
echo Your 2nd Question Is
echo.
echo What is 9624+624?
echo.
echo 1. 10098
echo 2. 25680
echo 3. 10248
echo 4. 11332
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto WRONG2
if "%input%" == "2" goto WRONG2
if "%input%" == "3" goto CORRECT2
if "%input%" == "4" goto WRONG2
:CORRECT2
cls
echo You got it right!
pause >nul
goto lvl3
:WRONG2
cls
echo retry!
pause >nul
goto lvl2
:lvl3
cls
echo.
echo Your 3rd Question Is
echo.
echo What is AMT?
echo.
echo 1. All My Tech
echo 2. Automatic Mighty Tech
echo 3. All Mighty Tech
echo 4. All Manish Tech
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto WRONG3
if "%input%" == "2" goto WRONG3
if "%input%" == "3" goto CORRECT3
if "%input%" == "4" goto WRONG3
:CORRECT3
cls
echo You got it right!
pause >nul
goto lvl4
:WRONG3
cls
echo retry!
pause >nul
goto lvl3
:lvl4
cls
echo.
echo Your 4th Question Is
echo.
echo Who is Bill Gate?
echo.
echo 1. Famous Police
echo 2. Richest Person
echo 3. Founder Of Facebook
echo 4. Presedent Of America
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto WRONG4
if "%input%" == "2" goto CORRECT4
if "%input%" == "3" goto WRONG4
if "%input%" == "4" goto WRONG4
:CORRECT4
cls
echo You got it right!
pause >nul
goto lvl5
:WRONG4
cls
echo retry!
pause >nul
goto lvl4
:lvl5
cls
echo.
echo Your 5th Question Is
echo.
echo Who Prime Minister in America?
echo.
echo 1. Ban Ki Moon
echo 2. Donald Trump
echo 3. Abhram Lincon
echo 4. Barack Obama
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto WRONG5
if "%input%" == "2" goto CORRECT5
if "%input%" == "3" goto WRONG5
if "%input%" == "4" goto WRONG5
:CORRECT5
cls
echo YOU WON THE GAME !Great Job!
pause >nul
goto Menu
:WRONG5
cls
echo retry!
pause >nul
goto lvl5
:Menu
cls
echo Welcome To All Mighty Tech Quiz Game!
pause >nul
echo.
echo Quiz Game
echo Press 1 to start and 2 to exit from game.
echo.
echo 1.Start it up!
echo 2.Exit :(
echo.
set /p input=Enter:
if "%input%" == "1" goto Start
if "%input%" == "2" exit
:Start
cls
set /p name=Insert Your Full Name?:
goto lvl1
:lvl1
cls
echo Hello, %name% AMT is processing for the game now press enter button to start the game.
pause >nul
cls
echo Here goes the first question to you
pause >nul
cls
echo.
echo Your 1st Question Is
echo.
echo who is the creator of Minecraft?
echo.
echo 1. Notch
echo 2. Bob
echo 3. Jeb
echo 4. Steve
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto CORRECT1
if "%input%" == "2" goto WRONG1
if "%input%" == "3" goto WRONG1
if "%input%" == "4" goto WRONG1
:CORRECT1
cls
echo You got it right!
pause >nul
goto lvl2
:WRONG1
cls
echo retry!
pause >nul
goto lvl1
:lvl2
cls
echo.
echo Your 2nd Question Is
echo.
echo What is 9624+624?
echo.
echo 1. 10098
echo 2. 25680
echo 3. 10248
echo 4. 11332
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto WRONG2
if "%input%" == "2" goto WRONG2
if "%input%" == "3" goto CORRECT2
if "%input%" == "4" goto WRONG2
:CORRECT2
cls
echo You got it right!
pause >nul
goto lvl3
:WRONG2
cls
echo retry!
pause >nul
goto lvl2
:lvl3
cls
echo.
echo Your 3rd Question Is
echo.
echo What is AMT?
echo.
echo 1. All My Tech
echo 2. Automatic Mighty Tech
echo 3. All Mighty Tech
echo 4. All Manish Tech
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto WRONG3
if "%input%" == "2" goto WRONG3
if "%input%" == "3" goto CORRECT3
if "%input%" == "4" goto WRONG3
:CORRECT3
cls
echo You got it right!
pause >nul
goto lvl4
:WRONG3
cls
echo retry!
pause >nul
goto lvl3
:lvl4
cls
echo.
echo Your 4th Question Is
echo.
echo Who is Bill Gate?
echo.
echo 1. Famous Police
echo 2. Richest Person
echo 3. Founder Of Facebook
echo 4. Presedent Of America
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto WRONG4
if "%input%" == "2" goto CORRECT4
if "%input%" == "3" goto WRONG4
if "%input%" == "4" goto WRONG4
:CORRECT4
cls
echo You got it right!
pause >nul
goto lvl5
:WRONG4
cls
echo retry!
pause >nul
goto lvl4
:lvl5
cls
echo.
echo Your 5th Question Is
echo.
echo Who Prime Minister in America?
echo.
echo 1. Ban Ki Moon
echo 2. Donald Trump
echo 3. Abhram Lincon
echo 4. Barack Obama
echo.
set /p input=Enter Answer:
if "%input%" == "1" goto WRONG5
if "%input%" == "2" goto CORRECT5
if "%input%" == "3" goto WRONG5
if "%input%" == "4" goto WRONG5
:CORRECT5
cls
echo YOU WON THE GAME !Great Job!
pause >nul
goto Menu
:WRONG5
cls
echo retry!
pause >nul
goto lvl5
Comments
Post a Comment