Skip to content

ankajjaiswal/sudoko_solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Solver

A modern, interactive Sudoku puzzle solver with multiple features and a beautiful UI. Play Sudoku, get hints, and solve puzzles with different difficulty levels.

Features

  • 🎮 Multiple Difficulty Levels

    • Easy (30 empty squares)
    • Medium (40 empty squares)
    • Hard (50 empty squares)
  • 🌓 Dark/Light Theme

    • Toggle between dark and light modes
    • Theme preference is saved automatically
  • ⏱️ Game Statistics

    • Timer to track solving time
    • Best time tracking
    • Number of puzzles solved
  • 💡 Helpful Features

    • Hint system for when you're stuck
    • Automatic solution validation
    • Clear board option
    • Auto-solve functionality
  • ⌨️ Keyboard Controls

    • Arrow keys for navigation
    • Numbers 1-9 for input
    • 'H' key for hints
    • Delete/Backspace to clear cells

How to Play

  1. Start a New Game

    • Click the "New Game" button
    • Select your preferred difficulty level
    • Start filling in numbers!
  2. Navigation

    • Use arrow keys to move between cells
    • Click on any cell to select it
    • Type numbers 1-9 to fill cells
  3. Getting Help

    • Press 'H' or click the "Hint" button for a hint
    • Use "Clear" to reset your inputs
    • Click "Solve" to see the complete solution
  4. Validation

    • Invalid inputs are highlighted in red
    • Completed puzzles are automatically checked
    • Correct solutions are celebrated!

Technical Details

  • Built with vanilla JavaScript, HTML5, and CSS3
  • Responsive design for mobile and desktop
  • Local storage for saving statistics and preferences
  • Efficient Sudoku generation and solving algorithms

Installation

  1. Clone the repository:

    git clone https://github.com/ankajjaiswal/sudoko_solver.git
  2. Open index.html in your web browser

No additional dependencies or setup required!

Contributing

Feel free to submit issues, fork the repository, and create pull requests for any improvements.

Author

License

Copyright © 2024 Ankaj Jaiswal. All rights reserved.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors