Sudoku Solver
Summary: This program solves a Sudoku puzzle using an algorithm.
Description: This interactive Sudoku Solver is a browser-based tool that lets you input a 9×9 Sudoku puzzle and attempts to solve it step-by-step. Use the first board to select a cell and type digits 1–9 (WASD or mouse navigate, Backspace/Delete clears a cell, and C clears the whole board). The solver builds a candidate list for each empty cell and applies a sequence of logical strategies—eliminating impossible numbers, finding unique candidates in rows/columns/3×3 squares, detecting pairs/triples, and cross-square restrictions—to reduce possibilities and fill cells; the second board shows the solver’s current candidates or final digits (single candidates are drawn large, multiple candidates are shown as small numbers), and the status message explains whether a full solution, partial solution, no solution, or input errors were found.
Dates: 3/27/2024 – 7/8/2024
Language: HTML and JavaScript
Skills:
- Functions
- innerHTML
- Arrays
- Drawing on canvas
- Event handling
File:
How to Run: See index.html
Repository: https://github.com/marvel3492/sudoku-solver