A simple quiz game built with HTML, JavaScript, and CSS, designed for family fun.
- Multiple Categories: Test your knowledge across a variety of categories:
- General Knowledge
- History of Russia
- Animal World
- Science and Technology
- Food
- Yes or No questions
- Interactive Gameplay: Click on a question tile to reveal the question and answer in a modal window.
- Score Tracking: Keeps track of scores for multiple players.
- Dynamic Content: Questions and answers are stored in a JavaScript object for easy modification.
- The game board is displayed with different categories and point values.
- Click on a question tile to reveal the question in a modal window.
- Discuss and try to answer the question as a family.
- Click the "Show Answer" button to reveal the answer.
- If the answer is correct, click the "Add Points" button for the respective player.
- The game continues until all questions have been answered.
- The player with the highest score wins!
The game data is stored in a JavaScript object named gameData
. It contains the categories and questions for the game. You can easily add or modify questions by editing this object in the script.js
file.
- index.html: Contains the HTML structure of the game board, modal window, and other elements.
- style.css: Contains the CSS styles for the game.
- script.js: Contains the JavaScript code for game logic, score tracking, and interactions.
- Add more categories and questions to expand the game's content.
- Implement a timer for each question to add a challenge.
- Allow users to create their own custom quizzes for personalized gameplay.
- Improve the overall design and user interface for a more engaging experience.
- Add sound effects and animations to enhance the game's atmosphere.
Contributions are welcome! Please feel free to submit pull requests or report issues on the project's GitHub repository.