← 返回命令列表

Linux command

nbfifteen 命令

文本

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

常用示例

Play 15 puzzle game

nbfifteen

Play without replay prompt

nbfifteen -n

Play with a 5x5 board

nbfifteen -s 5

说明

nbfifteen is a terminal 15-puzzle game. Slide tiles to arrange them in order. The tool is a classic sliding puzzle. Uses ncurses for display.

参数

-s _SIZE_
Set board dimension (3 to 7). Default is 4 (standard 15-puzzle).
-n
Don't ask for replay after solving the puzzle.
-h
Display help information.

FAQ

What is the nbfifteen command used for?

nbfifteen is a terminal 15-puzzle game. Slide tiles to arrange them in order. The tool is a classic sliding puzzle. Uses ncurses for display.

How do I run a basic nbfifteen example?

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

What does -s _SIZE_ do in nbfifteen?

Set board dimension (3 to 7). Default is 4 (standard 15-puzzle).