How berker00/sudokusolver works
Sudoku Solver is a browser-based puzzle solver supporting 4×4, 9×9, and 16×16 boards. The user enters clues, the client validates the board, and Solve submits it to the server; the server validates and solves it with backtracking, then returns the solution for display. The client also checks API health and supports clearing or restoring the puzzle. Source excerpts show the client-to-API calls and the API-to-solver call; no persistence layer is present.
Main entry points: App.jsx Board UI · index.js HTTP API · solveSudoku.js Sudoku Solver · main.jsx React Bootstrap
Components 5
Browser Client
- Board UI
client/src/App.jsx - React Bootstrap
client/src/main.jsx
Solver Service
- HTTP API
server/index.js - Sudoku Solver
server/solveSudoku.js
Other components
- Puzzle User
Connections 9
- Puzzle User → Board UI: enters clues
- React Bootstrap → Board UI: renders
- Board UI → HTTP API: checks health
- HTTP API → Board UI: returns health
- Board UI → HTTP API: submits board
- HTTP API → Sudoku Solver: calls solver
- Sudoku Solver → HTTP API: returns solution
- HTTP API → Board UI: returns solution
- Board UI → Puzzle User: shows solution