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

HOW TO HACK FACEBOOK ACCOUNT BY PHISHING [HOSTING]

Hack Facebook account by PHISHING (WEBHOSTING) It is a process to create a fake page of any website which feels and look like original website and sending to victim. By entering details by the victim, the details comes to us. It is some long method but good method. Step 1: You will need these files in next steps. Download these files from  here Step 2: Now go to free hosting sites. There are many but I used to use 000Webhost. Now create your account signing up there. After signing up, confirm your account with confirmation link sent in your e-mail. Sign up  here . Step 3: Now login your account. Step 4: Click on create new account. Step 5: Create your domain name and fill required information. Step 6: Now go to Control Panel and then click on File Manager. Step 7: Click on public_html. Step 8: Delete default.php file and click on upload. Step 9: Now upload your downloaded files. Now your phishing page is ready. Your phishing l...

CREATE WHATSAPP GROUP INVITATION LINK

How to create Whatsapp group Invitation link [Now available in Original Whatsapp also] Hello friends, now you can create your own group invitation link in whatsapp to add members themselves. If you want to create a group invitation link then read all. It is very simple method. Below, the page is looking long because I have given in full details with screenshots. Requirements:  You must be  Admin  of that group. Whatsapp Nano .  Click here  to download. Patience. STEP 1: Go to that  group  which you want to create a link. STEP 2: Click to  menu  (i.e. 3 dots). STEP 3. Click on  Group info . STEP 4: Click on  Add participant.. STEP 5:  Here, click on  Invite to group via link .                                                 STEP 6:  Copy  the given link.    ...

WHAT IS HACKING ? THINGS YOU SHOULD KNOW ABOUT HACKING.

There are many definitions of hacking. In this article, we will define hacking as identifying weakness in computer systems and/or networks and exploiting the weaknesses to gain access. An example of hacking is using by passing the login algorithm to gain access to a system. A hacker is a person who finds and exploits weakness in computer systems and/or networks to gain access. Hackers are usually skilled computer programmers with knowledge of computer security. Before we go any further, let’s look at some of the most commonly used terminologies in the world of hacking. Types of Hackers Hackers are classified according to the intent of their actions. The following list classifies hackers according to their intent. 1.Ethical Hacker (White hat): A hacker who gains access to systems with a view to fix the identified weaknesses. They may also perform penetration testing and vulnerability assessments. 2.Cracker (Black hat): A hacker who gains unauthorized access to ...