Skip to content
TheChatArchiveThe Chat Archive
MiniMaxminimax-m2.7Hugging Face Arena WebDev Preferences (2026)

Build a polished, playable browser game: game idea - laboratory rules gallery walk,…

  1. User

    Build a polished, playable browser game: game idea - laboratory rules gallery walk, groups rotate through different stations containing laboratory rules. each group completes a worksheet answering: what does this rule mean? why is it important? what could happen if ignored? give an example. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.

  2. MiniMax Assistant

    I'll create a fun, polished laboratory rules gallery walk game. Let me start by writing the spec, then build the complete game.

    Now let me build the complete game with all the juicy features:

    I need to fix the unused variable error and also add the CSS animations. Let me update the App.tsx:

    Now let me add the CSS animations for the game:

    Now let me update the index.html with proper meta tags:

    Let me build the project to verify it works:

    The build succeeded but there's a CSS warning. Let me fix the @import order:

    The build is successful with no errors. Here's a summary of what I created:

    🧪 Lab Rules Gallery Walk Game

    Features Implemented:

    Core Gameplay:

    • 8 laboratory safety rules with 4 question types each (meaning, importance, consequences, examples)
    • 20 questions per game with shuffled answers
    • 15-second timer per question with visual countdown
    • 4 multiple choice answers per question

    Scoring System:

    • +100 points for correct answers
    • -50 points for wrong answers
    • Combo multipliers: 1.5x at 3 streak, 2x at 5 streak, 3x at 10 streak
    • High score table storing top 5 scores in localStorage

    Juicy Feedback:

    • Screen shake on wrong answers
    • Particle explosions (green/cyan for correct, red for wrong, golden for combo milestones)
    • Score popups showing points earned
    • Timer color changes (green → yellow → red)
    • Combo fire emoji with intensifying glow
    • Flash effects on answers

    Game States:

    • Start screen with instructions and high scores preview
    • 3-2-1 countdown before game
    • Playing state with HUD (score, timer, combo, progress)
    • Pause overlay (ESC or P key)
    • Game over with final score and high score entry

    Controls:

    • Keyboard: 1-4 or A-D keys to answer, Space/Enter to start, ESC/P to pause
    • Touch: Tap answer cards directly
    • Fully responsive for mobile and desktop

    Visual Theme:

    • Neon science lab aesthetic with glowing effects
    • Dark navy background with cyan/purple/pink accents
    • Orbitron font for headings, Inter for body text
    • Smooth 60fps animations with CSS transforms

    The game is now ready to play! Open dist/index.html in a browser to start the Lab Rules Gallery Walk.

    Files built: SPEC.md, src/App.tsx, src/index.css, index.html

  3. User

    make the timer 3 minutes

  4. MiniMax Assistant

    Now let me update the timer display to show minutes and seconds:

    Now let me update the timer logic so it counts down the total game time and ends the game when it runs out:

    Done! The timer is now 3 minutes total for the entire game.

    Changes made:

    • Timer starts at 3:00 (180 seconds) and counts down
    • Display shows minutes and seconds format (e.g., "2:45")
    • Circular progress bar scales to match the 3-minute duration
    • Game ends when time runs out OR all 20 questions are answered
    • Warning color changes at 60 seconds (yellow) and 30 seconds (red)

    Files built: src/App.tsx