Skip to content

MR-Sharifi/sudoku-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUDOKU in Rust

To use rust in your local environment, start here.

Usage Instruction

Run the following command in the terminal to build the execution file.

cargo build

To test project functionality, run the following command,

cargo test

To initiate the program use the following command.

cargo run

After running this command, you will be prompted to select puzzle difficulty.

Select sudoku difficulty: (Default: Medium)
 1) Child Play
 2) Easy
 3) Medium
 4) Hard
 5) Expert

By Choosing the difficulty, the Sudoku puzzle will be generated.

0 0 7 0 5 0 9 4 0 
4 8 0 0 0 9 0 7 0
0 6 0 0 0 1 0 0 8
0 0 1 0 0 7 0 0 0
5 0 9 0 0 6 0 0 0
6 0 8 3 2 5 0 1 0
0 5 0 0 0 0 7 0 0
8 2 0 0 0 0 0 0 0
0 0 0 2 0 3 0 0 0

Note: The number 0 (zero) represents an empty cell.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages