Skip to main content

How to create Quiz Game in Notepad

1. Open notepad
2. Paste this code
@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 Do you want to start the quiz? (y/n)
set /p start=
if %start% == y goto level1
if %start% == n goto menu
goto startgame
:help
cls
echo Press the number of the answer then hit enter.
echo go back? (y/n)
set /p menugoto=
if %menugoto% == y goto menu
if %menugoto% == n goto exit
goto help
:exit
goto exit
:level1
cls
echo Okay, Let's Start.
echo What is 10 + 10?
echo 1) 1
echo 2) 20
echo 3) 500
set /p answer1=
if %answer1% == 1 goto wrong1
if %answer1% == 2 goto correct1
if %answer1% == 3 goto wrong1
goto level1
: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. Retry? (y/n)
set /p WA1=
if %WA1% == y goto level1
if %WA1% == n goto menu
goto wrong1
:level2
cls
echo Who is on the 100 dollar bill?
echo 1) Ben Franklin
echo 2) Tommy King
echo 3) Thomas Train
echo 4) Jeff Dunham
set /p aa=
if %aa% == 1 goto correct2
if %aa% == 1 goto wrong2
if %aa% == 1 goto wrong2
if %aa% == 1 goto wrong2
goto level2
:correct2
cls
echo YOU WIN THE GAME!
goto correct2
:wrong2
cls
echo YOU LOST! RETRY GAME? (y/n)
set/p retry=
if %retry% == y goto level1
if %retry% == n goto exit
goto wrong2
Note:Save as .bat file(e.g. Game.bat)
4. Run & Enjoy smile emoticon
If you want to more trick then click here

Comments

Popular posts from this blog

Facebook Shortcut Key

''''''''FACEBOOK SHORTCUTS'''''''' For Facebook Help Center - Shift+Alt+0 For Facebook Home Page - Shift+Alt+1 For Your Facebook Profile Page - Shift+Alt+2 For Friend Request - Shift+Alt+3 For Messages - Shift+Alt+4 For Notification - Shift+Alt+5 For Account Settings - Shift+Alt+6 For Privacy Settings - Shift+Alt+7 For Facebook Pages - Shift+Alt+8 For Facebook Terms of Use - Shift+Alt+9 For enable Search - Shift+Alt+? For Compose a New message - Shift+Alt+m :::Enjoy:::

How to Hack Whatsapp account?

Hello friends, In this article you will learn how we can access  our friends Whatsapp account. As you know that Whatsapp, Facebook, Twitter and other social organizations are investing many dollars for their privacy and security and hackers cannot easily hack their user accounts. But I am telling you just a trick to hack our friend’s Whatsapp account. It is so simple trick by which you can hack only our well known persons account. Requirements: Victims device for 15 seconds. Patience. Now you are ready for hack the account…….. Step 1: Download Firefox browser on your mobile from your app store either apple or google. Step 2: Open  Firefox  and type  web.whatsapp.com  on URL bar.  >>  Step 3: Now go to options and tick on  Request Desktop Site . Now you will see like this. Step 4: Take victim’s device on your hand and your 15 seconds start from here. Step 5: Now Navigate according to Victim’s mobile. Android, Windows Phone, Nokia S60:   Whatsapp  &g

Learn These 5 Programming Languages To Enter Into Any Software Company...

The software is one of the most vital part of the technological world and to develop or implement any software you need to have enough amount of knowledge about the programming language used in making of this revolution changing software. There are numbers of programming languages to learn but few of them are very useful for designing a software. Here is the comprehensive list of 5 Programming Languages that will help you understand which programming language is useful for what purpose. There are numbers of programming languages to learn but few of them are very useful for designing a software. Here is the comprehensive list of 5 Programming Languages that will help you understand which programming language is useful for what purpose. 1 Java link: ( https://youtu.be/EknEIzswvC0 ) Java was invented back in 90’s and since then it has been the most influential language in the history of computer science. There are numerous softwares developed by Java that has dominated the sof