← 返回命令列表

Linux command

sudoku 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start a new Sudoku game

nudoku

Start with a specific difficulty

nudoku -d [hard]

Display help

nudoku -h

说明

nudoku is a terminal-based Sudoku game built with the ncurses library. It provides an interactive interface for playing the classic number puzzle directly in the terminal. The game generates random Sudoku puzzles at various difficulty levels. Players fill a 9x9 grid so that each row, column, and 3x3 box contains all digits from 1 to 9. Pre-filled cells cannot be modified. The interface uses vi-style movement keys (h, j, k, l) for navigation, making it familiar to vim users. Arrow keys also work for those who prefer them. The game can solve puzzles automatically with the C command.

参数

-d _DIFFICULTY_
Set difficulty level (easy, normal, hard)
-c
Use black and white mode (no colors)
-h
Display help information
-v
Display version information

FAQ

What is the sudoku command used for?

nudoku is a terminal-based Sudoku game built with the ncurses library. It provides an interactive interface for playing the classic number puzzle directly in the terminal. The game generates random Sudoku puzzles at various difficulty levels. Players fill a 9x9 grid so that each row, column, and 3x3 box contains all digits from 1 to 9. Pre-filled cells cannot be modified. The interface uses vi-style movement keys (h, j, k, l) for navigation, making it familiar to vim users. Arrow keys also work for those who prefer them. The game can solve puzzles automatically with the C command.

How do I run a basic sudoku example?

Run `nudoku` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d _DIFFICULTY_ do in sudoku?

Set difficulty level (easy, normal, hard)