Skip to content

This image QUIZ game includes interesting features such as random question generation, a countdown timer, audio for correct and incorrect answers, and background music.

Notifications You must be signed in to change notification settings

Kubs-03/Flag_Whiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flag_Whiz

Test your knowledge with the fun and challenging flag guessing game! Identify flags from countries all around the world and improve your geography skills. Perfect for trivia lovers and geography enthusiasts. The game includes interesting features such as random question generation, a countdown timer, audio for correct and incorrect answers, and background music.

Live Demo

You can view the live demo of the project--> https://kubs-03.github.io/Flag_Whiz/

Features

  • Randomized Questions: Generates a random set of questions each time the quiz starts using the Fisher-Yates shuffle algorithm.
  • Timer: A 15-second timer per question that can be toggled on or off.
  • Audio Feedback: Plays different sounds when the user selects a correct or incorrect answer.
  • Background Music:A looping background music that can be toggled on and off.
  • Responsive Design :The quiz is styled for both desktop and mobile devices.

How to Play

  1. Click the Start Quiz button to begin.
  2. Choose the correct answer for each question before the timer runs out.
  3. The game will provide immediate feedback with sounds indicating if the selected answer is correct or incorrect.
  4. Move to the next question by clicking the Next button or waiting for the timer to expire.
  5. At the end of the quiz, your total score will be displayed.

Technologies Used

  • HTML: Structure of the quiz game.
  • CSS: Styling for responsive design on desktop and mobile.
  • JavaScript: Game logic, random question generation, timer, and audio control.

How to Run the Project

  1. Clone the repository:
      git clone https://github.com/Kubs-03/Flag_Whiz.git
    
  2. Open the index.html file in your browser to start the quiz.

Customization

  • Adding New Questions: You can add new questions in the questions array in the JavaScript file.
  • Changing Background Music: Replace the game_music.mp3 file in the audio folder with your own music file.
  • Updating Sound Effects: Modify the correct-sound and incorrect-sound audio files to change the feedback sounds.

Credits

  • Background Music: Provided by Pixabay
  • Sound Effects: Provided by Zapsplat

About

This image QUIZ game includes interesting features such as random question generation, a countdown timer, audio for correct and incorrect answers, and background music.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages