Skip to content

Anir2004-star/Quiz-Adventure-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ Quiz Adventure Game

Quiz Adventure is an interactive, browser-based trivia game built using HTML, CSS, and JavaScript โ€” no frameworks required.
You start your journey as a novice explorer and rise through difficulty levels (Easy โ†’ Medium โ†’ Hard โ†’ Expert) by answering real-world trivia questions correctly.
But be careful... one wrong answer and your journey ends with a dramatic GAME OVER sound! ๐ŸŽฎ๐Ÿ’ฅ


๐Ÿš€ Features

๐ŸŽฏ Progressive Difficulty

  • Starts on Easy
  • Automatically advances through Medium โ†’ Hard โ†’ Expert
  • Each correct answer increases your rank

๐ŸŒ Live Trivia Questions

  • Fetches random questions from the Open Trivia Database API
  • Covers multiple categories โ€” science, movies, history, tech, etc.
  • No question repeats within a session (thanks to session tokens)

๐ŸŽต Immersive Sound Design

  • Game Over Sound Effect and Voice Alert
  • Staggered playback for cinematic timing
  • (Optional) Ambient background music support

๐Ÿง  Gameplay Rules

  • You start with one question at Easy level
  • Each correct answer takes you to the next stage
  • The game ends instantly upon one wrong answer
  • Your score and highest level reached are displayed at the end

๐Ÿงฉ Tech Stack

Component Description
HTML5 Game structure and layout
CSS3 Visual styling, gradients, animations
JavaScript (ES6) Game logic, API handling, difficulty progression
Open Trivia DB API Source for live trivia questions
Pixabay Sounds Free sound effects for Game Over audio

๐Ÿ—‚๏ธ Project Structure

quiz-adventure/ โ”‚ โ”œโ”€โ”€ index.html # Main game HTML โ”œโ”€โ”€ style.css # Game styles and animations โ”œโ”€โ”€ script.js # Game logic and trivia handling

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published