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.
You can view the live demo of the project--> https://kubs-03.github.io/Flag_Whiz/
- 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.
- Click the Start Quiz button to begin.
- Choose the correct answer for each question before the timer runs out.
- The game will provide immediate feedback with sounds indicating if the selected answer is correct or incorrect.
- Move to the next question by clicking the Next button or waiting for the timer to expire.
- At the end of the quiz, your total score will be displayed.
- 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.
- Clone the repository:
git clone https://github.com/Kubs-03/Flag_Whiz.git
- Open the index.html file in your browser to start the quiz.
- 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.
- Background Music: Provided by Pixabay
- Sound Effects: Provided by Zapsplat