Linux command
tty-solitaire 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start a game
ttysolitaire
Set number of passes through the deck
ttysolitaire -p [3]
Use a specific card back color
ttysolitaire -b [blue]
说明
ttysolitaire is an ncurses-based Klondike solitaire card game for the terminal. The classic solitaire game with seven tableau columns, four foundation piles, and a stock/waste pile. Controls: arrow keys or hjkl to move cursor, space to select/place cards, m to draw from stock, q to quit. Cards are built down in alternating colors on the tableau and up by suit on the foundations.
参数
- -p _NUM_
- Number of passes through the deck (default: unlimited).
- -b _COLOR_
- Card back color: red, green, blue, cyan, magenta, yellow, white, black.
- -h
- Display help.
- -v
- Display version.
FAQ
What is the tty-solitaire command used for?
ttysolitaire is an ncurses-based Klondike solitaire card game for the terminal. The classic solitaire game with seven tableau columns, four foundation piles, and a stock/waste pile. Controls: arrow keys or hjkl to move cursor, space to select/place cards, m to draw from stock, q to quit. Cards are built down in alternating colors on the tableau and up by suit on the foundations.
How do I run a basic tty-solitaire example?
Run `ttysolitaire` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p _NUM_ do in tty-solitaire?
Number of passes through the deck (default: unlimited).