Back to projects Experimental
5 3 7 6 1 9 5 9 8 8 6 4 8 3 2 4 1 8 7 9 8 3 1
Experimental

Sudoku Generator & Solver

AlgorithmCreative CodingGame
Overview

Originally a graduation project, later rebuilt using P5.js as an interactive puzzle generator and solver. The project explores recursive constraint-solving algorithms and presents them through a clean, interactive visual interface.

Target

A personal challenge to deeply understand recursive algorithms and make them visual and interactive.

Mission

Build a fully functional Sudoku generator and solver that demonstrates algorithmic thinking through code.

Challenges

  • Implementing backtracking algorithms correctly and efficiently
  • Generating valid, uniquely-solvable puzzles across difficulty levels
  • Visualizing the solving process in a way that's understandable

What I Learned

Recursive backtracking algorithms and constraint propagation
Puzzle generation techniques and solvability guarantees
P5.js for interactive visual applications
Educational software design — making algorithms understandable

Technologies

P5.jsJavaScript

© 2026 Hatem Mazid