How to create a Game?

by | Dec 22, 2014 | TIPS & TRICKS




How to create a Game? are given here under. These notes have been prepared according to the latest syllabus of Federal Board of Intermediate and Secondary Education (FBISE), Islamabad. All these notes can be studied free of cost from our website. How to create a Game? are uploaded here in pdf format and can be downloaded in offline mode by clicking this link. The downloadable files of How to create a Game? along with other chapters of the subject are available in very minor charges. These notes are equally beneficial for the students studying across the Pakistan and as well as for International Students studying in schools / colleges affiliated with the FBISE (Federal Board) Islamabad. Our website does not contain only these notes but we have also uploaded the latest 5th Class Notes, 6th Class Notes, 7th Class Notes, 8th Class Notes, 9th Class Notes, 10th Class Notes, 11th Class Notes (Class 1st Year Notes / Intermediate Notes), 12th Class Notes (Class 2nd Year Notes / Intermediate Notes / FA/FSc Notes / ICS Notes and BA/BSc Notes. Students studying in different classes from Primary to Middle, Matriculation (SSC), Intermediate (HSSC / 1st Year and 2nd Year) and Graduation can get their notes / key books / solutions and solved exercises from our website. The syllabus of other boards across Pakistan like BISE KP, BISE Punjab, BISE Sindh, BISE Balochistan and other divisional level boards are almost same nowadays because of the Unified Syllabus policy implemented by the Government of Pakistan so the students of other boards may also get benifit from these notes.


How to create a Game? in PDF Format for FBISE & Other Pakistani Boards

Dear Friends,

Today, I am going to share a very useful trick with all of you. In today’s tutorial, I will show you the procedure “How to create Game”…

Yes, you can create your own game at your home and you can edit the code, add different things in it.

Learn, How to create a Game?

You just need to follow the following steps:

  • Open Notepad

  • Copy the following Code highlighted in red and paste in the Notepad


@echo off
color b0
:menu
cls
echo Asalam o Alaikum! 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
exit
goto exit
:level1
cls
echo Okey, 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 What is 10 * 10?
echo 1) 10
echo 2) 50
echo 3) 100
echo 4) 500
set /p aa=
if %aa% == 1 goto wrong2
if %aa% == 2 goto wrong2
if %aa% == 3 goto correct2
if %aa% == 4 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

  • Save the document.

  • Name the document and add .bat at the end of the document, save it anywhere in your computer, I am going to save it on my desktop

  • Open the Game and follow the instructions to play 🙂



I hope you will enjoy




For any mistake in How to create a Game?, please report it to us immediately by pressing “Report Mistake(s) in Notes” Button above, so that we can fix the issue accordingly.

Why Should You Learn from Our Notes:

  • We are providing the best ever notes according to the latest academic course prescribed by the Federal Board of Intermediate and Secondary Education or the Federal Directorate of Education Islamabad, as the case may be. All of our notes are the best ever notes as compared to the key books / guide books / handouts available in the market. Our Notes are created very comprehensively and contains the solutions to the questions asked at the end of the exercises, i.e. solved exercises, review questions, important questions, fill in the blanks and multiple choice questions (mcqs).
  • Our Notes are recommended by the Honourable teachers of Federal Government Schools and Model Colleges.
  • Our Notes are helpful in scoring good marks in the board examinations. Our notes are designed in such an easy way that the students can understand the questions easily without the help of any tutor.

Do you want to keep yourself Updated?:

  • If you want to keep yourself updated regarding our notes / keybooks / guides / guess papers / past solved papers and much more useful content, you shoud follow us on Instagram, follow us on X, like our Facebook Page and subscribe to our YouTube channel.
  • We are also working in developing our Android and Apple Mobile Application. In Sha Allah we launch both the Applications very soon. We will announce regarding the same on our Official Channels as well as on our website, so stay tuned to our website and other social media chanels to keep yourself updated.
  • We are going to introduce many other useful online programs for our students, their parents and the Honourable Teachers. These programs will motivate all of you towards spread of quality education.

Be the part of our team:

  • If you are a student or a teacher, we cordially invite you to join our team as a student or as a teacher. We are soon launching an online registration forum for both the students and the teachers wherein they can interact each other through our website. The students of our website will have to pay a minor dues for getting the services with regard to the notes and other queries from the list of our qualified and professional teachers.