Repository navigation
v2.0.0
This release transforms the Sudoku Solver into a fully-featured Sudoku game by introducing on-demand board generation and a polished user interface for starting new sessions.
🌟 Key Features
- Random Puzzle Generator: You can now generate valid, solvable Sudoku boards with a single click. No more searching for external puzzles to test the solver!
- Difficulty Modes:
- Easy: Generates boards with ample clues for a relaxing solve.
- Medium: A balanced mix of clues for intermediate players.
- Hard: Minimal clues designed to push your logic to the limit.
- Interactive Selection Modal: A new, premium pop-up modal allows you to quickly choose between 6x6 (Mini) and 9x9 (Classic) grids before starting.
- Branding & UI:
- Added a custom Sudoku Master Favicon for better browser tab visibility.
- Improved the primary control bar with a dedicated "New Game" action.
🛠️ Technical Improvements
- Randomized Backtracking: The solving engine was upgraded with a shuffling algorithm to ensure that every generated board is unique.
- State-Linked Clue Distribution: Implemented an intelligent clue-removal system that scales clues based on the selected grid size and difficulty level.
- Consolidated Documentation: Merged all technical insights and project strategies into codewalkthrough.md for a cleaner developer experience.
📦 What's Changed?
- App.tsx: Main integration of the new generator logic and modal state.
- services/sudokuSolver.ts: Core algorithm updates for board generation.
- components/GeneratorModal.tsx: New UI component for game setup.
- public/favicon.svg: Brand asset addition.
- types.ts: Extended type definitions for difficulty and size.
Full Changelog: v1.0.1...v2.0.0