| HOME | BLOG | ABOUT US | CONTACT US | SITE MAP | RSS | MEMBERS-ONLY AREA |

Customize 'Who Wants to be a Millionaire' Game- XML method

This presentation tip is in the category:  Who Wants to be a Millionaire

With the work we have done for you, you can now easily put your own questions to this game. Show this flash game at the end of your presentations or in your web sites. You can make your audience remember you well by making them answer your prepared questions while playing the game.

You can customize the game in two methods:
1) Using our free online XML editor (the easier way).
2) Editing the XML file with a text editor.

This article covers the second method. You can check out the first method: free online XML editor here.

Here are the steps for method #2 - Editing the XML file with a text editor:

Step 1: Download the file and unzip it

We have done the work for you and you can download the Who Wants to be a Millionaire flash game here. Unzip the file and you will see three files. One is named "millionaire.exe", that's the file you need for playing the game on your computer. You don't have to modify this file. You can double click this file to play the game when you finish customizing the game. One is named "millionaire.swf" which is the flash file that you need if you like to put the game on your own web site. You do not need to modify this file. The other one is named "setup.xml" and you need to modify this file in order to customize the game they way you want.

Step 2: Customize the title of the game

Open the file "setup.xml" with your favorite text editor. (I usually open it with Notepad. I simply open a blank document in Notepad and drag the icon of "setup.xml" to Notepad"s workspace.) At the top of your file, you will see a line this:

The text that goes between <Title> and </Title> is the title of the game. You may modify it by putting a title of presentation there.

Step 3: Choose the game mode (choose between Random Mode or In-order Mode)

Near the top of the file, find this line:

You can choose between Random Mode or In-order Mode for this game. In Random Mode, fifteen questions would be randomly picked out of the entire pool of questions. (The size of the pool must be bigger than 15, and you can put as many questions as you like in the pool.) For In-order Mode, the first fifteen questions would be picked for the game and they will display in the exact same sequence as in the XML file.

To use Random Mode, type yes between <Random> and </Random>. To use the In-order Mode, type no between <Random> and </Random>.

Step 4: Input Questions, Answers and Choices

One question goes with one answer and four choices. The following represents the one question, its answer and choices in the XML:



What the above code means is that:

Question: Which of these is a song of the Beatles?
Answer: The 4th Choice (Hey Jude)
Choice 1: Hey Man
Choice 2: Hey Guys
Choice 3: Hey Joe
Choice 4: Hey Jude

Say if you want to put 25 questions in the pool of your game, you should have 20 units of the above code between <AllQuestions> and </AllQuestions>

Your game should be ready to play when you finish this step. Double click the file "millionaire.exe" and play the game! The game is still in the beta stage and we would like to hear from you. Tell us if you like the game. Tell us if you find a bug. Feel free to drop us an email.