| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
💡 shdoku
A basic tui sudoku game for your shell.
Controls
The current control scheme adheres to vim-like keybindings:
h, j, k, lto moveleft, down, up, rightH, J, K, Lto move 3 spaces at oncexto delete a number1-9to place a numberqto quit
This shall be reworked. 😼
Preview
This is what the sudoku will be displayed like.
┌────────┬────────┬────────┐
│ 5 3 │ 7 │ │
│ 6 │ 1 9 5 │ │
│ 9 8 │ │ 6 │
├────────┼────────┼────────┤
│ 8 │ 6 │ 3 │
│ 4 │ 8 3 │ 1 │
│ 7 │ 2 │ 6 │
├────────┼────────┼────────┤
│ 6 │ │ 2 8 │
│ │ 4 1 9 │ 5 │
│ │ 8 │ 7 9 │
└────────┴────────┴────────┘
Todo
-
Game logic
- Validate Sudokus
- Generate Sudokus
- Difficulties to choose
- Timer
- Scoreboard per difficulty
-
Basic UI
- Basic controls
- Basic rendering
- Centered UI
- Reset terminal state
-
Final UI
- Final controls
- Preselect numbers
- Cell markups (perhaps with unicode block thingies?)
- Colored UI
- Hightlight selected numbers
- Hightlight selected markups
- Color chooser
- Live timer
- Scoreboard access
- Difficulty selection
- Final controls