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 (4349 votes cast)
VN:F [1.9.22_1171]
Rating: 7.8/10 (4349 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 4349 ratings

Incoming search terms:

300 thoughts on “Kaun banega crorepati game (kbc2) (download the game)

    1. admin Post author

      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.

      Reply
  1. nannu

    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..

    Reply
    1. admin Post author

      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.

      Reply
    1. admin Post author

      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.

      Reply
    2. admin Post author

      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.

      Reply
  2. prince

    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

    Reply
  3. prince

    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

    Reply
  4. Swanand

    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’

    Reply
  5. pushkar

    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

    Reply
  6. admin Post author

    @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 ?

    Reply
  7. admin Post author

    @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 ?

    Reply

Leave a Reply to nannu123 Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>