Posts tagged phone

Kaun banega crorepati flash game

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

Incoming search terms:

My Current Location

Update as of 17 June 2011 : I have changed my phone from Nokia E71 to iPhone 4 and I found a better way to display my location. In Nokia Symbian Phones, the Google maps app itself included a feature to auto update in the background, but the battery drain was considerably high . Also , whenever I reboot my phone, I forget to enable tracking after bootup. Now in iPhone 4 in addition to the google latitude app, you could use Apple’s implementation of mobileme.com find my iphone tracking service right from iOS. I found this really cool script sometime back called playnice (PHP script run as a cronjob). This script will manually initiate a mobileme.com “find my iphone” request which will fetch my iphone’s current location instantly and use the data to update my google latitude location. This way, the battery drain is negligible because there is no background app running on my phone tracking my location, instead … my server initiates a location update request at a frequency which I specify and this request reaches my iPhone more or less consuming data as much as a PUSH notification only . This way I am always getting tracked even if I reboot my phone and there is no need of any app to be running in the background. Also there is no location history in mobileme.com, but with playnice, my server maintains a complete geo co-ordinates history in a text file, which will help me better track my phone , in case it gets lost.

My location data is automatically fetched using Google Latitude Location API. The Google maps app on my phone broadcasts my location automatically and thus you can see my current location on this page

The iframe displayed below uses google location API to fetch the address of my current location. You should head on to this post to read a tutorial on adding this to your own blog.



The mapme.at widget here shows all the locations I have visited in the last 1 week and can pull the data from both Google latitude and Foursquare servers. Pretty cool widget if you switch between foursquare and google latitude/maps on your phone very frequently.

Incoming search terms: