Trivia Crack - Preguntados

Seele01-Flash
By
Trivia Crack is the world's #1 trivia game where you can test your general knowledge across science, history, geography, and more. Play free online with friends in multiple exciting game modes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Trivia Crack 3D: Spin & Solve**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-saturation, "Flat 3D" cartoon aesthetic mimicking vector art. Use `MeshToonMaterial` or unlit shaders to replicate the iconic 2D look in a 3D space. * **Hero Asset (The Wheel):** A central, interactable 3D Cylinder wheel divided into 6 colored segments: Yellow (History), Orange (Sports), Pink (Entertainment), Green (Science), Blue (Geography), and Red (Art). The wheel should have a pointer/stopper at the top. * **Mascot:** A simple, low-poly white teardrop-shaped character ("Willy") placed centrally or hovering above the wheel, reacting to game states (idle animation, happy on win, sad on lose). * **Environment:** A clean, solid color or subtle radial gradient background that contrasts with the wheel. Floating 3D low-poly icons representing the categories (e.g., a test tube, a globe, a sword) rotating slowly in the background. * **Mobile Optimization:** Use low-poly geometries for the wheel and icons. Implement texture compression. Avoid heavy post-processing; rely on baked lighting or simple AmbientLight + DirectionalLight setup. ### 2. Audio Requirements * **BGM:** Upbeat, energetic "Game Show" style jazz/pop instrumental with a looping bassline. It should be catchy but not distracting during reading. * **Sound Effects (SFX):** * **Spin:** A mechanical "ratchet" clicking sound (`tick... tick... tick`) that matches the wheel's rotation speed (pitch shifting slightly as it slows down). * **Selection:** A distinct "pop" sound when the wheel stops. * **Correct Answer:** A bright, rising major chord chime + applause. * **Wrong Answer:** A comical "buzzer" or "wah-wah-wah" descending sound. * **UI Tap:** Soft wooden block clicks. ### 3. Gameplay Loop * **Phase 1: The Spin:** The player swipes the 3D wheel to spin it. Physics-based rotation applies (inertia and friction) until it stops on a category. * **Phase 2: The Question:** The 3D view blurs slightly or zooms out, and a Question UI modal appears. A timer (30 seconds) starts immediately. * **Phase 3: The Answer:** The player selects one of four multiple-choice answers. * **Correct:** Score increases, coin particles burst from the UI, and the player returns to Phase 1. * **Incorrect:** Life lost (heart icon breaks), game over screen, or option to revive with coins. * **Victory/Defeat:** In 'Classic Mode', the goal is to get a streak of correct answers. In 'Challenge Mode', clear a set number of questions. ### 4. Mobile Controls & Interaction * **Orientation:** **Portrait Mode (Vertical)** is mandatory for one-handed play. * **Wheel Interaction:** Implement `TouchStart`, `TouchMove`, and `TouchEnd` listeners. Calculate the velocity of the vertical swipe to apply angular impulse to the 3D wheel (mimicking a physical spin). * **UI/HUD:** * Use an HTML/CSS overlay layer on top of the Canvas for all text (Questions/Answers) to ensure crisp readability on high-DPI mobile screens. * Buttons (Answers) must be at least **44x60px** with adequate padding to prevent miss-clicks. * Place the "Spin" trigger zone in the center screen, and menu buttons at the bottom thumb-reach area. * **Haptic Feedback:** Trigger `navigator.vibrate(5)` on every "tick" of the wheel as it passes a segment divider, and a stronger vibration `navigator.vibrate(200)` on a wrong answer. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Trivia Crack (also known as Preguntados) is the world's most popular trivia quiz game, now available to play free online in your web browser. This engaging knowledge-testing game challenges players across six different categories including science, history, geography, pop culture, music, and more. With its colorful design featuring the iconic smiling mascot and rainbow wheel, Trivia Crack has become the go-to choice for trivia enthusiasts worldwide.

The game offers an perfect blend of education and entertainment, making learning fun through interactive quizzes. Whether you're playing solo to test your personal knowledge or competing with friends, Trivia Crack provides an engaging platform to discover fascinating facts about the world while having a great time.

Core Features

Multiple Game Modes for Every Player

Trivia Crack offers three distinct game modes to keep the experience fresh and exciting:

  • Classic Mode : Spin the colorful trivia wheel and answer questions from random categories. One wrong answer ends the game, making every question crucial for achieving high scores and earning gold coins.

  • Challenge Mode : Choose your favorite topic from six available categories and answer as many questions as possible until you make a mistake. Perfect for focusing on specific knowledge areas.

  • Party Mode : Use earned coins to access multiplayer games with up to 7 players. Unlike classic mode, wrong answers don't end the game immediately, creating a more relaxed competitive atmosphere.

Six Knowledge Categories

Test your expertise across diverse subjects: - Science : Biology, chemistry, physics, and nature - History : World events, historical figures, and timelines - Geography : Countries, capitals, landmarks, and cultures - Pop Culture : Movies, celebrities, trends, and entertainment - Music : Artists, songs, genres, and musical history - General Knowledge : Mixed topics and surprising facts

Social Gaming Experience

Trivia Crack excels as a social game, allowing you to: - Challenge friends in real-time multiplayer battles - Compete for high scores and bragging rights - Learn together while having fun - Play locally with up to 7 players in party mode

Game Controls

The game features intuitive controls that work across all devices:

  • Arrow Keys : Navigate through menus and options
  • Enter Key : Select answers and confirm choices
  • Mouse : Click on game buttons and interface elements
  • Touch Controls : Full mobile device support for smartphones and tablets

Why Play This Game

Educational Entertainment

Trivia Crack transforms learning into an addictive gaming experience. Instead of passive studying, you'll actively engage with information across multiple subjects, making it easier to retain knowledge while enjoying yourself.

Perfect for All Ages

The game's diverse question categories and adjustable difficulty make it suitable for players of all ages. Families can play together, students can use it for educational purposes, and adults can challenge themselves with complex trivia.

Free and Accessible

No downloads, installations, or payments required. Simply open your web browser and start playing immediately. The game runs smoothly on computers, tablets, and smartphones, making it accessible anywhere with an internet connection.

Competitive and Social

Whether you're competing against friends or trying to beat your personal best, Trivia Crack's scoring system and multiplayer features add excitement and motivation to keep playing and learning.

Regular Content Updates

The game features fresh questions and content, ensuring that even experienced players will encounter new challenges and learn something new with each session.

Frequently Asked Questions (FAQ)