🎭 Unterhaltung & Spiele

Memory Card Game

📁 Unterhaltung & Spiele 👤 Beigetragen von @f 🗓️ Aktualisiert
Der Prompt
Develop a memory matching card game using HTML5, CSS3, and JavaScript. Create visually appealing card designs with flip animations. Implement difficulty levels with varying grid sizes and card counts. Add timer and move counter for scoring. Include sound effects for card flips and matches. Implement leaderboard with score persistence. Add theme selection with different card designs. Include multiplayer mode for competitive play. Create responsive layout that adapts to screen size. Add accessibility features for keyboard navigation. Implement progressive difficulty increase during gameplay.

Beispiel-Ausgaben

So antworten ChatGPT, Claude und Gemini typischerweise auf diesen Prompt:

🚀 ChatGPT

I'll help you create a complete memory card game! Let's start with the HTML structure featuring a responsive grid layout, then add CSS for smooth 3D flip animations and themed card designs. The JavaScript will handle game logic including difficulty levels (4x4, 6x6, 8x8 grids), timer/move tracking, localStorage for leaderboard persistence, and Web Audio API for sound effects. I'll include ARIA labels for accessibility and keyboard controls (Tab, Enter, Arrow keys) for navigation.

✨ Claude

This is quite an ambitious project with many interconnected features. I'd recommend building it incrementally: start with basic card flip mechanics and matching logic, then layer in the timer/scoring system, followed by difficulty levels. For the leaderboard persistence, localStorage works well for single-device storage. The multiplayer mode would need clarification—are you thinking hot-seat (same device) or online play? That significantly impacts the architecture. I can provide a solid foundation that you can extend based on your specific needs.

💎 Gemini

Here's a modular approach using vanilla JavaScript with CSS Grid for responsive layouts and CSS transforms for card flips. The game uses the Fisher-Yates shuffle algorithm for card randomization and localStorage API for leaderboard data. Difficulty scaling can adjust grid size (8-32 cards) and reduce matching time windows. For accessibility, implement WCAG 2.1 guidelines with focus management and screen reader announcements. Sound effects use the Web Audio API or HTML5 audio elements with preloading for performance.

So nutzt du diesen Prompt

Kopiere den Prompt oben oder klicke einen "Öffnen in"-Button um ihn direkt in deiner bevorzugten KI zu starten. Du kannst den Text dann an deinen Anwendungsfall anpassen — z.B. Platzhalter wie [dein Thema] durch echten Kontext ersetzen.

Welches KI-Modell funktioniert am besten

ChatGPT, Claude und Gemini liefern alle gute Ergebnisse für diese Art von Prompt. Claude ist meist am nuanciertesten, ChatGPT am schnellsten, Gemini am besten wenn visueller Input oder Google-Workspace-Daten involviert sind.

Diesen Prompt anpassen

Passe den Prompt an deinen konkreten Use-Case an. Ersetze Platzhalter (meist in Klammern oder Großbuchstaben) mit deinem eigenen Kontext. Je mehr Details du lieferst, desto präziser die Antwort.

Typische Anwendungsfälle

  • In ChatGPT, Claude oder Gemini sofort einsetzen
  • An dein spezifisches Projekt oder Branche anpassen
  • Als Startpunkt für deinen eigenen benutzerdefinierten Prompt nutzen
  • Mit verschiedenen Models vergleichen um das beste für deinen Fall zu finden
  • Im Team teilen als Standard-Workflow

Variationen

Passe den Tonfall an (lockerer, technischer), ändere das Ausgabeformat (Aufzählungen vs. Absätze) oder füge Einschränkungen hinzu (Wortlimits, Zielgruppe).

Verwandte Prompts