🎭 Unterhaltung & Spiele

Sudoku Game

📁 Unterhaltung & Spiele 👤 Beigetragen von @f 🗓️ Aktualisiert
Der Prompt
Create an interactive Sudoku game using HTML5, CSS3, and JavaScript. Build a clean, accessible game board with intuitive controls. Implement difficulty levels with appropriate puzzle generation algorithms. Add hint system with multiple levels of assistance. Include note-taking functionality for candidate numbers. Implement timer with pause and resume. Add error checking with optional immediate feedback. Include game saving and loading with multiple slots. Create statistics tracking for wins, times, and difficulty levels. Add printable puzzle generation. Implement keyboard controls and accessibility features.

Beispiel-Ausgaben

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

🚀 ChatGPT

I'll help you create a complete Sudoku game! Here's a structured implementation with a 9x9 grid using CSS Grid, three difficulty levels (easy, medium, hard) with backtracking puzzle generation, a multi-tier hint system, pencil marks for notes, and a running timer with pause/resume functionality. The game includes localStorage for saving up to 3 game slots, tracks your win statistics and average solve times, generates print-friendly puzzle sheets, supports full keyboard navigation (arrow keys + number input), and follows WCAG accessibility guidelines with ARIA labels and screen reader support.

✨ Claude

I can provide you with a comprehensive Sudoku implementation, though I should note that puzzle generation algorithms can be computationally intensive and may need optimization for harder difficulties. The implementation would include a responsive grid layout, a backtracking-based puzzle generator with cell removal based on difficulty, a hint system ranging from highlighting conflicts to revealing cells, and localStorage-based game persistence. For accessibility, I'd recommend implementing proper ARIA labels, keyboard navigation, and sufficient color contrast, though you may want to test with actual screen readers to ensure full compatibility.

💎 Gemini

Here's a Sudoku game implementation using HTML5 Canvas or CSS Grid for the board layout, with a constraint-satisfaction puzzle generator using backtracking algorithms (similar to those described in Donald Knuth's Algorithm X). The game includes localStorage API for save/load functionality, a hint system with progressive disclosure, pencil mark tracking via data attributes, performance.now() for accurate timing, and keyboard event listeners for arrow key navigation. Accessibility features include role="grid", aria-label attributes, and focus indicators conforming to WCAG 2.1 Level AA standards.

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