Skip to content

hwelzel/sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku

A simple project used to get acquainted with rust on the theme of the Sudoku.

Currently reads sudoku data from a file in the format:

__1_65_37
3___2916_
_64______
_28__4__3
___1_7___
5__2__69_
4_____52_
_5694___8
91_58____

and displays it as follows:

┌───┬───┬───╥───┬───┬───╥───┬───┬───┐
│   │   │ 1 ║   │ 6 │ 5 ║   │ 3 │ 7 │
├───┼───┼───╫───┼───┼───╫───┼───┼───┤
│ 3 │   │   ║   │ 2 │ 9 ║ 1 │ 6 │   │
├───┼───┼───╫───┼───┼───╫───┼───┼───┤
│   │ 6 │ 4 ║   │   │   ║   │   │   │
╞═══╪═══╪═══╬═══╪═══╪═══╬═══╪═══╪═══╡
│   │ 2 │ 8 ║   │   │ 4 ║   │   │ 3 │
├───┼───┼───╫───┼───┼───╫───┼───┼───┤
│   │   │   ║ 1 │   │ 7 ║   │   │   │
├───┼───┼───╫───┼───┼───╫───┼───┼───┤
│ 5 │   │   ║ 2 │   │   ║ 6 │ 9 │   │
╞═══╪═══╪═══╬═══╪═══╪═══╬═══╪═══╪═══╡
│ 4 │   │   ║   │   │   ║ 5 │ 2 │   │
├───┼───┼───╫───┼───┼───╫───┼───┼───┤
│   │ 5 │ 6 ║ 9 │ 4 │   ║   │   │ 8 │
├───┼───┼───╫───┼───┼───╫───┼───┼───┤
│ 9 │ 1 │   ║ 5 │ 8 │   ║   │   │   │
└───┴───┴───╨───┴───┴───╨───┴───┴───┘

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages