Kaun banega crorepati game (kbc2) (download the game)

Update as of 5th June 2011 : Source code for the game has been published on this page. Now you can change the game as you wish, using Swishmax (www.swishzone.com)

Update as of 20th Dec 2010 : I have been noticing quite a lot of visitors reaching this page through google search.  So drop in a comment if you would like me to add any new features onto the game.

This was a simple game I created using SWiSH in 2005. The questions appear randomly with no logic for the levels of difficulty and the “Phone a friend” lifeline is a dummy lifeline with no real purpose. You should check out the game here. The game was hosted on a free domain kbc2.be and also on openflash.be initially which got a decent amount of hits. Those domain names dont exist anymore, so I have published it here. You can download the source code and read the instructions below if you like to edit the game to suite your needs.

Click below to play the game


VN:F [1.9.22_1171]
Rating: 7.8/10 (4326 votes cast)
VN:F [1.9.22_1171]
Rating: 7.8/10 (4326 votes cast)

KBC flash game source code

I have also noticed a few visitors to this blog searching for terms like “kbc game source code”. I am not sure whether anyone want to modify the existing flash game to accomodate new lifelines or game rules.
Anyway, you can download the source code for this game and a sample questions database (20 questions only) using the link below. You will need Swishmax v3 to open the .swi source file and edit program logic. If you just want to edit the questions and answers database, you can edit the core.kbc file in the zip archive.
If you modify the game using this source code and publish it elsewhere, you should retain an always visible text which reads “thekirankumar.com”

Download the game

How to add your own questions or edit the questions in KBC ?

The questions database (core.kbc is included in the KBC.zip package) contents are as follows :

&totques=183&
&ques1=What is capital of India?&
&a1=Bombay&
&b1=Delhi&
&c1=Calcutta&
&d1=Madras&
&ans1=2&
&ques2=Who is known as the father of the nation?&
&a2=Lal Bahadur Sastri&
&b2=Mahatma Gandhi&
&c2=Bal Gangadhar Tilak&
&d2=Rajiv Gandhi&
&ans2=2&

The first line &totques=183& in the file can be changed to specify the total number of questions you have in your database. If you plan to put only 20 questions, change the line to &totques=20&

The first question is in a variable called quest1, the second on quest2 and so on…
Similar naming for options . Variables a1,b1,c1,d1 will contain the text for the options for question 1. a2,b2 etc for question no 2

Answer is specified as &ans1=2& where the value 2 says the answer for question number 1 is option b (i.e, the variable b1). Similarly ans1=3 means that the answer is c.

Hence, by editing the core.kbc file using an text editor, you can modify/add new questions to the game.

You can access the source code of the flash game by opening the KBC.swi file using SwishMax. Post the URL of your version of the game as a comment in this page, I would love to see them.

kon banega crorepati game
kbc game
kaun banega crorepati game download
play kbc online

Kaun banega crorepati game (kbc2) (download the game), 7.8 out of 10 based on 4326 ratings

Incoming search terms:

  • #1 written by Satyam
    about 8 years ago

    please give a download link

    • #2 written by admin
      about 8 years ago

      You can save the SWF file from http://thekirankumar.com/blog/kbc/KBC.swf
      You also need to save a text file containing the questions and answers which has been mailed to you. I cannot publish the link here as it will spoil the spirit of the game, although its not very difficult to figure out the url. This text file can be modified to add your own questions,options and answers.

  • #3 written by nannu
    about 8 years ago

    hello Kiran,
    I would like to edit the questions and recreate the game for my office internal use.. so request u to send me the source file and steps to edit them..

    • #4 written by admin
      about 8 years ago

      I have replied to you via email. Also refer to the previous comment. The questions database file should be on the same folder as the SWF file.

  • #6 written by Nannu
    about 8 years ago

    Hello Kiran,
    I have downloaded the questions, however help me with steps.. how these questions will display in kbc. swf

    • #7 written by admin
      about 8 years ago

      Open the questions database with any text editor , like notepad.
      You can see the questions , options and the answers. As you have requested me to help you out on chat, you can use the “Contact>Chat with me” link to chat with me now.

    • #8 written by admin
      about 8 years ago

      The questions database contents are as follows :

      &totques=183&
      &ques1=What is capital of India?&
      &a1=Bombay&
      &b1=Delhi&
      &c1=Calcutta&
      &d1=Madras&
      &ans1=2&
      &ques2=Who is known as the father of the nation?&
      &a2=Lal Bahadur Sastri&
      &b2=Mahatma Gandhi&
      &c2=Bal Gangadhar Tilak&
      &d2=Rajiv Gandhi&
      &ans2=2&

      The first line &totques=183& in the file can be changed to specify the total number of questions you have in your database. If you plan to put only 20 questions, change the line to &totques=20&

      The first question is in a variable called quest1, the second on quest2 and so on…
      Similar naming for options . Variables a1,b1,c1,d1 will contain the text for the options for question 1. a2,b2 etc for question no 2

      Answer is specified as &ans1=2& where the value 2 says the answer for question number 1 is option b (i.e, the variable b1). Similarly ans1=3 means that the answer is c.

  • #9 written by prince
    about 8 years ago

    I would like to edit the questions and recreate the game for my office internal use.. so request u to send me the source file and steps to edit them……plz help me out soon

  • #10 written by prince
    about 8 years ago

    I would like to edit the questions and recreate the game for my office internal use.. so request u to send me the source file and steps to edit them……plz help me out soon

  • #11 written by akshay
    about 8 years ago

    hi,

    really liked your game. i have also started in flash and may b if you can send me the code at my mail id [email protected], i too would be able to make game studying your tutorial.

  • #12 written by akshay
    about 8 years ago

    can you send me the tutorial/code at my mail [email protected].

  • #13 written by Swanand
    about 8 years ago

    Hi Kiran,
    I wanted to check if i could use your game in one of my team event.
    It will have different question set focused to the topic of the session.
    Can you please help me with the following:
    1. How can i edit questions (i read your previous post on this but still could not mange to make it work.
    2. How the SWF file knows where to search the question database?
    3. Is there any way by which i can modify the SWF – mainly to remove the life lines and modify the ‘Rupees won’ to ‘points won’

    It would be great help if if you could help me to make the team event ‘different’

  • #14 written by shubhangi
    about 8 years ago

    can you send me the code at my mail

  • #15 written by vallidss
    about 8 years ago

    its good

  • #16 written by rajiv
    about 8 years ago

    please also send me the code….as i want to use it as tutorial……my emails id is [email protected]

  • #17 written by rajiv
    about 8 years ago

    please also send me the code….as i want to use it as tutorial……my emails id is [email protected]

  • #18 written by praveen kumar yadav
    about 8 years ago

    plz provide me the source code of kbc i wld like to use it as our minor project

  • #19 written by praveen kumar yadav
    about 8 years ago

    plz provide me the source code of kbc i wld like to use it as our minor project

  • #20 written by shanky
    about 8 years ago

    this k.b.c. game is wonderfull

  • #21 written by pushkar
    about 8 years ago

    please provide me the source code as i would like to modify the game according to recent rule changes n adding more questions to the game…pl mail me

  • #22 written by nishant dhingra
    about 8 years ago

    i like it

  • #23 written by naeem malik
    about 8 years ago

    sdsd

  • #24 written by Ravi
    about 8 years ago

    really nice thng………….pls tell me hw to download this…….

  • #25 written by akshay
    about 8 years ago

    i am a fan of kbc

  • #26 written by akshay
    about 8 years ago

    i am a fan of kbc

  • #27 written by Vidhi
    about 8 years ago

    Please provide with me the code too.Please email me soon.Please!Thanks for uploading the game.

  • #28 written by Vidhi
    about 8 years ago

    Please provide with me the code too.Please email me soon.Please!Thanks for uploading the game.

  • #29 written by sachin
    about 8 years ago

    i like kbc

  • #30 written by khanki
    about 8 years ago

    who r u

  • #31 written by admin
    about 8 years ago

    @Vidhi The source code was published back in June. You can download it using the above link.

    @Khanki, I am Kiran Kumar, Who are you ?

  • #32 written by admin
    about 8 years ago

    @Vidhi The source code was published back in June. You can download it using the above link.

    @Khanki, I am Kiran Kumar, Who are you ?

  • #33 written by anjaney
    about 8 years ago

    COOL GAME

  • #34 written by PRAJWAL.V.HIREMATH
    about 8 years ago

    ITs a cool game its my favourite and in this we will get more knowledge and i and i say best of luck to all the players

  • #35 written by PRAJWAL.V.HIREMATH
    about 8 years ago

    we are learining more in kbc we get more knoweledge in this game

  • #36 written by sanjay yerwadekar
    about 8 years ago

    i want to learn more

  • #37 written by raja
    about 7 years ago

    friend

  • #38 written by raja
    about 7 years ago

    hi kiran kumar

  • #39 written by yogesh kant
    about 7 years ago

    sir would you like to tell me……….i wanna knows about(kvc game) the game. how can i join this game, in this seasions yaa next seasion. plese tell me

  • #40 written by shibu
    about 7 years ago

    sir
    how can i join kbc

  • #41 written by pia khurana
    about 7 years ago

    cool game keep it up

  • #42 written by uttam yadav
    about 7 years ago

    No comments…

  • #43 written by Trishna
    about 7 years ago

    i <3 this man itz pretty kool………..!!!

    post submiteed on 2011

  • #44 written by bivash singh
    about 7 years ago

    like kbc games

  • #45 written by bivash singh
    about 7 years ago

    like kbc games

  • #46 written by junaid
    about 7 years ago

    i likedthe game vvvvvvvvvvvvvvvvvvvvvvvvvvvveeeeeeeeeeeeerrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyy much

  • #47 written by R.NIKITHA JAIN
    about 7 years ago

    KBC IS THE ONE OF THE BEST QUIZ GAME AND AMITHAHBACHAN YOUR ROCKING******

  • #48 written by R.NIKITHA JAIN
    about 7 years ago

    KBC IS THE BEST GAME AND ENTERTIING PROGRAM

  • #49 written by R.NIKITHA JAIN
    about 7 years ago

    Rockkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk the game was superb

  • #50 written by maithili
    about 7 years ago

    thank u!

  • #51 written by abinash chandra kushwaha
    about 7 years ago

    i am very poor boy’s

  • #52 written by abinash chandra kushwaha
    about 7 years ago

    very good

  • #53 written by vaibhav jindal
    about 7 years ago

    aa gaya hai budha tera baap

  • #54 written by vaibhav jindal
    about 7 years ago

    VAIBHAV JINDAL DRXFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

  • #55 written by NITESH
    about 7 years ago

    IT VERY NICE GAME THANK YOU, SIR

1 2 3 6