Geography Quiz: Flags and Capitals

Seele01-Flash
By
Geography Quiz: Flags and Capitals is a comprehensive educational trivia game that challenges your world geography knowledge through flags, capitals, countries, and historical facts across five engaging game modes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Geography Quiz: Flags and Capitals". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a clean, "Edu-tainment" aesthetic. The centerpiece should be an interactive **3D Earth Globe** (using `THREE.SphereGeometry`) rather than a flat map, to leverage Three.js capabilities. * **Textures:** Use a stylized, vector-like earth texture (distinct colors for land and ocean, preferably high contrast). Do not use photorealistic satellite imagery as it may clutter the mobile screen. * **Scene Background:** A soft, radial gradient background (Deep Blue to Black) or a very subtle starfield to make the globe pop without distraction. * **UI Overlay:** Use HTML/CSS overlays on top of the canvas for the Quiz UI (Question text and Answer buttons) to ensure text remains crisp on high-DPI mobile screens. The UI style should be rounded, glossy, and friendly (Blue/White color scheme). * **Performance:** Optimize for mobile by limiting the sphere segments (e.g., 32x32) and using a single directional light source plus ambient light. ### 2. Audio Requirements * **BGM:** A looped, upbeat, and "smart" track. Think "Game Show" meets "Lounge Music"—light synth pads with a steady, thinking-time beat. * **Sound Effects (SFX):** * **Selection:** A crisp "Pop" or "Click" sound when tapping UI buttons. * **Correct Answer:** A satisfying, ascending major-chord chime (Positive feedback). * **Wrong Answer:** A soft, low-pitched "Thud" or "Buzz" (avoid overly harsh error sounds). * **Hint Usage:** A magical "sparkle" sound when the 50/50 hint is activated. ### 3. Gameplay Loop * **Core Mechanic:** The game functions as a multiple-choice quiz. * **State 1 (Question):** The camera focuses on a specific continent on the 3D globe. A Flag image appears in the top center (2D UI). * **State 2 (Input):** Four buttons appear at the bottom containing Country Names. * **State 3 (Feedback):** * If **Correct**: The button turns Green, the globe spins slightly to center on that country (visualize a marker placed there), and +100 points are awarded. * If **Incorrect**: The button turns Red, the correct answer highlights Green, and a life/heart is lost. * **Hint System:** Implement the "50/50" hint mentioned in the description. A specific button creates an effect that disables/grays out two incorrect answers. * **Progression:** Questions should cycle through major countries. After 10 questions, display a "Round Complete" modal with a star rating. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Support **Portrait Mode** primarily (as it fits the "Question on top, Buttons on bottom" layout best), but ensure responsive CSS for Landscape. * **Touch Controls:** * **Globe Interaction:** Allow the user to manually spin the globe with one finger (touch drag) during the "idle" or "menu" phase. Add rotational inertia/damping for a premium feel. * **UI Interaction:** The four answer buttons must be at least **44px height** and span the width of the screen (padding 20px) to accommodate thumb reach zones. * **Haptics:** Trigger `navigator.vibrate(50)` on a correct answer and `navigator.vibrate([30, 50, 30])` (double pulse) on a wrong answer. * **Animations:** Use Tween.js (or simple linear interpolation) to smoothly rotate the globe to the correct country's coordinates when a question is answered. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Geography Quiz: Flags and Capitals

Geography Quiz: Flags and Capitals is an engaging educational trivia game that transforms learning world geography into an exciting challenge. This comprehensive quiz game tests your knowledge of countries, flags, capitals, and geographical facts through interactive gameplay designed for learners of all ages.

With support for 15 different languages including English, Spanish, French, German, Chinese, Japanese, and many others, this game provides a truly global learning experience accessible to players worldwide.

Core Features

Five Captivating Game Modes

The game offers diverse quiz formats to keep your geography learning experience fresh and challenging:

  • Flags of the World : Progressive difficulty levels testing your ability to identify national flags from around the globe
  • Independence Day : Historical knowledge challenges focusing on when countries gained their independence
  • Countries of the World : Comprehensive geographical expertise tests covering world nations and their locations
  • Population of Countries : Statistical challenges where you recall population data and demographic information
  • Tournaments : Competitive global adventures with exciting tournament-style gameplay

Educational Excellence

This geography quiz game combines entertainment with education, making it perfect for: - Students studying world geography - Travelers preparing for international trips - Geography enthusiasts wanting to expand their knowledge - Anyone interested in learning about world cultures and countries

Smart Learning Features

  • Helpful Hints System : When stuck, use hints to eliminate half of the incorrect answers
  • Progressive Difficulty : Start easy and gradually face more challenging questions
  • Memory Enhancement : Designed to improve retention of geographical facts and visual recognition
  • All Ages Friendly : Suitable content and difficulty scaling for children and adults

Game Mechanics

The quiz format is straightforward yet engaging. You'll be presented with questions about world geography, including identifying flags, naming capitals, recognizing countries, or recalling historical and statistical information. The multiple-choice format makes it accessible while the hint system ensures you can learn even from challenging questions.

Operation Guide

Playing Geography Quiz: Flags and Capitals is simple and intuitive:

  • Mouse Control : Use the left mouse button to select your answer from multiple choices
  • Touch Support : On mobile devices, simply tap your chosen answer
  • Hint System : Access helpful hints when needed to eliminate incorrect options
  • Language Selection : Choose from 15 available languages for interface and content
  • Game Mode Selection : Pick your preferred quiz type from the five available modes

Platform Compatibility

This educational quiz game is designed for maximum accessibility: - Web Browsers : Play directly in any modern browser on desktop or mobile - Cross-Platform : Seamless experience across different devices and operating systems - No Download Required : Instant access through your web browser - Mobile Optimized : Perfectly adapted for smartphone and tablet gameplay

Why Play This Geography Quiz Game

Educational Value

Unlike entertainment-only games, Geography Quiz: Flags and Capitals provides genuine educational benefits. You'll expand your world knowledge, improve memory retention, and develop better geographical awareness through engaging gameplay.

Global Perspective

With content covering countries worldwide and support for multiple languages, this game promotes global awareness and cultural understanding. It's an excellent tool for developing international perspective and geographical literacy.

Flexible Learning

The five different game modes cater to various learning preferences and knowledge levels. Whether you're visual (flags), factual (capitals), historical (independence dates), or statistical (populations), there's a mode that matches your learning style.

Free Educational Resource

As a completely free educational game, it provides high-quality geography learning without any cost barriers. This makes world-class geographical education accessible to everyone with internet access.

Perfect for Various Settings

Whether used in classrooms, homeschooling, family game time, or personal learning sessions, the game adapts to different educational contexts and social settings.

Frequently Asked Questions (FAQ)