Skip to content

BAGUVIX456/sudoku-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Solver

A CLI app made using Rust to solve simple sudoku puzzles. Currently, this application can solve sudokus having only 1 solution. Its working has been tested only on Windows, and it would be of great help if you test the application in your OS as well!

To use this software:

  1. Download sudoku.exe from the Releases tab.

  2. Create a new Excel spreadsheet file and enter the sudoku table in Sheet 1, with 0 entered in all the empty places. Note the location of this file.

  3. Open your favourite terminal and cd yourself into the directory in which sudoku.exe is installed.

    cd <insert file path here> 
    

    The usage of this command might be slightly different in different operating systems.

  4. Run sudoku solve <file_path> to solve the sudoku puzzle or sudoku check <file_path> to check its validity!

  5. Use sudoku --help for help on how to use the commands.

Note: Double-clicking on the executable won't work! Run the executable from the terminal itself.

Planned features for future versions:

  1. Implementing a better algorithm to be able to solve any kind of sudoku puzzle.
  2. Making error messages more helpful.
  3. Specifying reason for failure in check command
  4. Beautifying solution output.

About

A CLI application built in Rust that can solve simple sudoku puzzles

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages