shdoku/README.md
2023-08-14 23:34:51 +02:00

38 lines
1.0 KiB
Markdown

# 💡 shdoku
A basic tui sudoku game for your shell.
---
### Controls
The control scheme adheres to vim-like keybindings:
- `h, j, k, l` to move `left, down, up, right`
- `H, J, K, L` to move 3 spaces at once
- `x` to delete a number
- `1-9` to place a number
- `q` to quit
### 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 │
└────────┴────────┴────────┘
```