An interactive anime quiz experience with dual-theme modes and dynamic particle effects
๐ Live Demo โข ๐ Documentation โข ๐ Report Bug โข โจ Request Feature
The Shield of Wrath Quiz is a fan-made interactive quiz application celebrating The Rising of the Shield Hero anime series. Built with pure HTML, CSS, and JavaScript, it features dynamic dual-theme modes, canvas-based particle animations, and an engaging user experience to test your knowledge of Naofumi Iwatani's journey through betrayal, redemption, and heroism.
This quiz captures the essence of the series through:
- ๐ฅ Dual Theme System โ Switch between Wrath Mode (fire particles) and Shield Mode (ice particles) with smooth transitions
- ๐ 15 Challenging Questions โ Carefully crafted questions covering characters, legendary weapons, kingdoms, and pivotal plot moments
- โฑ๏ธ Three Difficulty Levels โ Adaptive time challenges (Easy: 45s, Medium: 30s, Hard: 20s per question)
- ๐จ Interactive Animations โ 140+ canvas particles, SVG graphics with dynamic gradients, and glassmorphism UI
- ๐ Achievement System โ Unlock badges for perfect scores, speed runs, and consistent performance
- โจ๏ธ Full Keyboard Support โ Complete navigation without touching your mouse
- ๐พ Smart Persistence โ Remembers your theme preference across sessions
- โก 4 Hero Themes โ Cycle through:
- ๐ฅ Wrath Mode โ Ascending red/orange fire particles
- ๐ก๏ธ Shield Mode โ Descending cyan/teal ice crystal particles
- โก Spear Mode โ Golden lightning streak physics
- ๐น Bow Mode โ Emerald green rising mana sparks
- ๐ SVG & Canvas FX โ Option selection fireworks, glowing shield logo, backdrop blur glassmorphism UI
- โก Hero XP & Level Progression โ Earn XP per quiz based on accuracy, speed, and combo streaks. Level up (
Lv. 1 Novice$\rightarrow$ Lv. 10 Shield Hero Legend) - ๐ Shield Hero Lore Codex โ Interactive encyclopedia modal featuring character bios, weapon trees, and Curse Series lore
- โ Custom Question Builder โ Create custom trivia questions saved in
localStoragethat merge into your quiz bank - ๐ฒ Dynamic Question Bank โ 25+ questions with option shuffling
- ๐ก๏ธ Hero Lifelines & Skills โ Activate Air Strike Shield (50:50), Filo's Swiftness (+10s), and Raphtalia's Insight (Hint)
- โก Quest Modes โ Choose between Standard Campaign or Sudden Death
- ๐ฅ Combo Streak Multipliers โ Build consecutive correct answer streaks (
๐ฅ 3x Combo) - ๐ Post-Quiz Lore Review โ Detailed answer review with anime lore explanations
- ๐ Hall of Heroes Leaderboard โ LocalStorage modal tracking top 10 historical quest performances
- ๐ HTML5 Canvas Certificate โ Download a personalized high-resolution PNG certificate with your Hero Level and Title
- ๐ Social Score Sharing โ One-click score snippet copy for Discord/Twitter
- โจ๏ธ Keyboard Navigation โ Full accessibility (
โ/โchoose,โ/โnavigate,1/2/3skills,Enterconfirm) - ๐ฑ Fully Responsive โ Optimized layout for desktop, tablet, and mobile devices
- ๐ Zero Dependency Vanilla Stack โ Pure HTML5, CSS3, and ES6+ JavaScript
|
Frontend
|
Graphics & Animation
|
|
Data & Storage
|
Performance
|
Shield-of-Wrath/
โ
โโโ index.html # Main quiz structure with 15 questions
โโโ style.css # Dual-theme styling with CSS variables (600+ lines)
โโโ main.js # Quiz logic + particle animation systems (500+ lines)
โโโ README.md # Project documentation
โ
โโโ asset/
โโโ favicon.png # Browser favicon (32x32)
โโโ og-image.png # Social media preview (1200x630)
โโโ shieldhero.png # Wrath mode background (1920x1080)
โโโ shieldmode.jpg # Shield mode background (1920x1080)
โโโ Cursor.cur # Custom cursor asset
- A modern web browser (Chrome 90+, Firefox 88+, Safari 14+, Edge 90+)
- Optional: Local web server for development
1๏ธโฃ Clone the repository:
git clone https://github.com/Divyansh3105/Shield-of-Wrath.git2๏ธโฃ Navigate to project directory:
cd Shield-of-Wrath3๏ธโฃ Launch the quiz:
Option A: Direct Browser Launch
# Simply double-click index.html
# Or right-click โ Open with โ Your BrowserOption B: Local Development Server
# Using Python 3
python -m http.server 8000
# Using Node.js http-server
npx http-server -p 8000
# Using PHP
php -S localhost:80004๏ธโฃ Access the application:
Open your browser and navigate to: http://localhost:8000
- Enter Your Hero Name โ Personalize your quiz experience
- Select Difficulty Level:
- ๐ข Easy โ 45 seconds per question (Recommended for beginners)
- ๐ก Medium โ 30 seconds per question (Balanced challenge)
- ๐ด Hard โ 20 seconds per question (For true Shield Hero fans!)
- Click "Begin Your Quest" to start
Mouse Controls:
- Click on answer options to select
- Use "Previous" and "Next" buttons to navigate
- Click theme toggle button to switch modes
Keyboard Controls:
โ/โโ Navigate between answer optionsโ/โโ Move between questionsEnterโ Confirm selection and advance- Works seamlessly without mouse!
- โก Wrath Mode (Default) โ Fire theme with ascending red/orange particles
- ๐ก๏ธ Shield Mode โ Ice theme with descending cyan/teal particles
- Click the theme toggle button to switch
- Your preference is automatically saved
- Animated Score Display โ Circular progress ring with percentage
- Answer Review โ See all questions with correct answers highlighted
- Achievement Badges โ Unlock based on your performance
- Performance Stats โ View your completion time
- Retry Option โ Take the quiz again to improve
This project was developed as a portfolio showcase to demonstrate:
- โ Proficiency in vanilla JavaScript without frameworks or libraries
- โ Advanced Canvas API implementation for particle systems
- โ CSS custom properties for dynamic theming
- โ Responsive web design principles and mobile-first approach
- โ Performance optimization techniques (60fps animations)
- โ LocalStorage API for state persistence
- โ Modern glassmorphism UI design
- โ Color theory application in dual-theme systems
- โ Animation principles โ timing, easing, and visual feedback
- โ Typography and visual hierarchy
- โ User experience (UX) design patterns
- โ Clean, maintainable code structure
- โ Semantic HTML5 markup
- โ Accessibility considerations (WCAG guidelines)
- โ Cross-browser compatibility testing
- โ Version control with Git/GitHub
- โก Load Time: < 1 second (on standard connection)
- ๐ฌ Frame Rate: Consistent 60fps animation
- ๐ฆ Bundle Size: ~50KB (HTML + CSS + JS)
- ๐ฑ Mobile Performance: Optimized for low-end devices
- โฟ Accessibility Score: 95+ (Lighthouse)
- ๐จ PageSpeed Insights: 90+ performance score
- ๐ต Background music toggle with Shield Hero OST
- ๐ Sound effects for correct/incorrect answers
- ๐ฅ Embedded character introduction videos
- โจ More particle types (lightning, holy light)
- ๐ Leaderboard system with Firebase integration
- ๐ฅ User authentication and profile system
- ๐ Question categories (Characters, Plot, World, Abilities)
- ๐ฒ Random question mode
- ๐ Progress tracking across multiple attempts
- ๐จ Additional themes (Spear Hero, Bow Hero, Sword Hero)
- ๐ Multi-language support (English, Japanese)
- ๐ฑ Progressive Web App (PWA) with offline support
- ๐ Global leaderboard with social sharing
- ๐ Weekly challenge mode with new questions
- ๐ฎ Custom quiz builder for users
- ๐ฌ Community submissions for questions
- ๐ค Multiplayer mode (real-time competitive)
- ๐ฏ Achievement system with unlockable themes
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- ๐ Report bugs or issues
- ๐ก Suggest new features or enhancements
- ๐ Add more quiz questions
- ๐จ Design new themes
- ๐ Translate to other languages
- ๐ Improve documentation
Fire theme with ascending red particles
Ice theme with descending cyan particles
- Safari: Minor particle rendering differences on older versions
- Firefox: Slight delay in theme transition (< 0.1s)
- Mobile: Custom cursor not visible (using default pointer)
Report issues: GitHub Issues
Distributed under the MIT License. See LICENSE file for more information.
This means you can:
- โ Use commercially
- โ Modify and distribute
- โ Use privately
- โ Sublicense
- ๐ Original Series: The Rising of the Shield Hero by Aneko Yusagi
- ๐ฌ Anime Adaptation: Kinema Citrus Studio
- ๐จ Design Inspiration: Modern glassmorphism trends
- ๐ป Development Tools: VS Code, Chrome DevTools, Git
- ๐ Community: Thanks to all contributors and testers
โจ This is a fan-made tribute quiz and is not affiliated with or endorsed by:
- The official The Rising of the Shield Hero franchise
- Aneko Yusagi (original author)
- Kinema Citrus (animation studio)
- Media Factory or any associated publishers
This project is created for educational and portfolio purposes only, with deep respect for the original work.