Skip to main content
100%

Sudoku Game

✓ Published1🌍 Public
NNita
Last edited Mar 26, 2025
Created on Mar 18, 2025
Forked from HTML Starter

An interactive Sudoku game presents a 9×9 grid where players fill empty cells with numbers 1 through 9, following the classic puzzle rules. The board is rendered as an HTML grid, with cells styled through CSS and interactivity managed by JavaScript. The game offers multiple difficulty levels, a timer, and a hint system. The core logic relies on custom JavaScript classes and functions, including backtracking algorithms for puzzle generation and solving, while the user interface responds to clicks and keyboard input.

AI-generated description

Sudoku Game

An interactive Sudoku game implemented with HTML, CSS, and JavaScript.

Features

  • Three difficulty levels: Easy, Medium, and Hard
  • Timer to track your solving speed
  • Number pad for easy input on mobile devices
  • Keyboard support for number entry and navigation
  • Hint system to help when you're stuck
  • Check your progress or reveal the solution

How to Play

  1. Select a difficulty level and click "New Game" to start
  2. Click on an empty cell, then either:
    • Click a number in the number pad
    • Use your keyboard to enter a number (1-9)
    • Use 0, Delete, or Backspace to clear a cell
  3. Use arrow keys to navigate between cells
  4. Special movements:
    • Press Q to move diagonally up and left
    • Press E to move diagonally up and right
    • Press A to move two cells to the left
  5. Click "Check" to verify your current entries
  6. Click "Hint" if you need help with a cell
  7. Click "Solve" to see the complete solution

The timer tracks how long it takes you to complete the puzzle. Try to beat your best time!

MIT Licensed

Similar vizzes