Skip to content

askreet/sadoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sadoku

(Pronounced like Sudoku with a thick Boston accent.)

A tiny command-line Sudoku game, written in Rust, using pancurses.

What it does:

  • Renders an editable game state allowing you to solve a sudoku.
  • Downloads puzzles from NYTimes by virtue of some very shaky webscraping code.
  • Works on my Mac.

What it doesn't do:

  • Generate puzzles. Has one hard-coded puzzle I transcribed from NY Times the day I wrote it.
  • Tell you when you won.
  • Highlight all errors.
  • Handle terminals that don't support full color gracefully.

What it should do, but hasn't been tested:

  • Work on devices other than my Mac.

Demo

Demo!

Usage

To run locally, have a Rust development environment and run:

cargo run --release

Controls are as follows:

  • Move cursor: hjkl (Like vim).
  • Move cursor to next empty/pencilmarked cell: HJKL.
  • Clear cell: x.
  • Insert guess: 1 - 9.
  • Insert pencil marks: Shift + 1 - 9.
  • Exit: q.
  • Download NYTimes puzzle: d (warning: this will overwrite any game state)

About

A command-line sudoku written in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages