Skip to content

TianyiShi2001/sudoku-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sudoku-tui

crates.io crates.io crates.io

Play sudoku on the command line.

example.png

Installation

cargo install sudoku-tui

Usage

Run sudoku to start game.

Use arrow keys/mouse wheel/mouse click to navigate. Enter the number 0-9 to fill in. Click <Hint> or press <h> to obtain a hint. Ctrl/Cmd + Z to undo (unfortunately, due to technical limitations, Ctrl/Cmd + Shift + Z is not able to map to "redo", but there's a button for it).

Compatibility

Works on Linux, MacOS and Windows, although you may be unable to use mouse actions on Windows.

Roadmap

  • Basic logic
  • Display You win
  • Undo/Redo (Ctrl + Shift + Z binding not yet)
  • Limit number of steps?
  • Score calculation & difficulty selection
  • history?
  • time taken
  • Hex