Linux command
nbsudoku 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Play sudoku
nbsudoku
Play with a larger board
nbsudoku -s [4]
Use fast puzzle generation
nbsudoku -f
说明
nbsudoku is a terminal-based Sudoku puzzle game from the nbsdgames collection. Fill the grid so that each row, column, and box contains all digits exactly once. Controls: arrow keys or hjkl to move cursor, number keys to enter digits, q to quit. Mouse input is also supported.
参数
- -s _SIZE_
- Set puzzle size. The grid becomes (size*size) x (size*size). Default is 3 (a standard 9x9 grid); 2 gives 4x4, 4 gives 16x16.
- -f
- Fast (flawed) puzzle generation. Generates a puzzle that may have more than one solution but runs in reasonable time. Automatically enabled for sizes larger than 4.
- -h
- Display help information.
FAQ
What is the nbsudoku command used for?
nbsudoku is a terminal-based Sudoku puzzle game from the nbsdgames collection. Fill the grid so that each row, column, and box contains all digits exactly once. Controls: arrow keys or hjkl to move cursor, number keys to enter digits, q to quit. Mouse input is also supported.
How do I run a basic nbsudoku example?
Run `nbsudoku` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s _SIZE_ do in nbsudoku?
Set puzzle size. The grid becomes (size*size) x (size*size). Default is 3 (a standard 9x9 grid); 2 gives 4x4, 4 gives 16x16.