Skip to content
/ sudoku Public

Displays a sudoku, and reveals if the move if valid

Notifications You must be signed in to change notification settings

Perryo/sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku

Displays a given Sudoku puzzle and informs the user if the move they made is valid.

Screenshot 2023-10-17 at 9 28 57 AM

A puzzle is ingested in the format:

[
    [4, '',6, 2, 7, 8, '','',''],
    [7, 3, 5,'', 9, 6, 2, '',''],
    [8,1,'',5,4,'',7,9,''],
    ['',6,2,'','','',1,'',''],
    [4,'',3,'',6,1,'','',''],
    ['','','',4,'','','','',7],
    ['','','','',1,7,6,'',9],
    [3,'','','',5,'','','',''],
    [6,'','','','',4,2,'',5]
]

Where each row signifies a "box" of the sudoku puzzle.

Therefore the first index would represent:

4 _ 6
2 7 8
_ _ _

About

Displays a sudoku, and reveals if the move if valid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published