Game Show Quiz Game
Readme
Copyright 2004 Kyle Fritz
This Flash game is designed to take the questions from a text file and display them in an interface that resembles a generic eighties game show. It randomly selects a question and displays it on the screen. The corresponding answer choice is also displayed along with three randomly selected other choices. Should the user answer correctly, their score increments. If the user answers incorrectly or runs out of time, their score decrements.
There is also a "less random" version. It reads each question from the text file one at a time and its corresponding answer. That answer is randomly put in one of the four possible answer choices. The other answer choices are filled with random answers from the other questions. Should the user answer correctly, their score increments. If the user answers incorrectly or runs out of time, their score decrements.
This Flash game was designed with Macromedia Flash MX. The sounds were taken from the "The Price is Right" and "Family Feud" television shows. The producers of "The Price is Right" and "Family Feud" do not endorse this product. It was originally designed for students studying United States History to practice their knowledge of important people; however, it can be used for anything.
The text file must be formatted correctly in order for the game to work as desired. The file name must correspond to that in the the second scene of the Flash file. The default is "questions.txt". The first line must have the text &question#= (replace # with the number of the question starting with 0) and then the question followed by another &. The next line must have the text &answer#= (replace # with the number of the question starting with 0) and then the answer for the previous question followed by another &. This should keep going until all questions have been listed. The last line should say &numOfQuestions=#& (replace # with the number of questions listed). An example file, titled "questions.txt" is included.
To assist you in adding words to this game, a Java program has been included. You must have the Java Virtual Machine installed on your computer. If you are running Windows, double-click on the "Executable.bat" file. Otherwise, you need to run the "AddWords.jar" file with the console open. Once the program is running, simply follow the onscreen instructions and a text file will be created in the same directory as the AddWords.jar file.
Scene One: "Preloader"
Not much to modify here. This scene only loads the music, not the file. You may remove my copyright notice if you wish.
Scene Two: "Title"
Not much to modify here. This scene starts playing the music and displays the title of the game.
Scene Three: "File Loader"
On the "Actions" layer, in the first frame, are the main file loading actions. You may wish to change the values of the variable pointsToEarn and pointsToLose. You also may wish to change the line list.load("questions.txt"); to correspond to the name of your text file. You also should change the line var numOfPrizes = 4; to correspond to the number of prizes in your game.
Scene Four: "Question"
You may wish to change the length of time a question is displayed. To do this, remove frames from the time line to correspond with the desired length of time and change the values show in the "time" layer accordingly. If you have more than 20 prizes, you must change the actions on the "Continue" button in the frame that says "Correct!" (frame 301 in the original version) so that the switch statement has additional lines that read case #: gotoAndPlay("Prize#", 1); break; (replace # with the numbers until you reach the number of prizes in your game minus one).
Scene Five: "Final Score"
Not much to modify here. This scene displays the final score a player receives.
Remaining Scenes: "Prize#"
These scenes display the prizes that the player can win randomly. To create your own prizes, simply make a regular animation in a scene names Prize# (where # is a number from 0 to the number of prizes in your game minus one). The only actions you need are at the very last frame of the scene: stopAllSounds(); gotoAndPlay("Question", 1);.
This game was designed by Kyle Fritz to help the students of Mr. Barnes's AP United States History class learn about the important people in United States history.
This game and readme file was submitted to FlashKit by Kyle Fritz so that others may take advantage of this games usefulness.
Please note, because of the constant changing form of the Internet, this site may no longer exist or have moved by the time you read this.