Linux command
cribbage 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start a game
cribbage
Explain scoring mistakes
cribbage -e
Use shorter (quiet) prompts
cribbage -q
Let the computer cut the deck
cribbage -r
说明
cribbage is a text-based implementation of the classic cribbage card game from the bsdgames collection. The player competes against the computer, scoring points by forming combinations during play and in hand. Cards are selected for the crib, then played alternately trying to make pairs, runs, and reach 15 or 31. The first player to reach 121 points wins.
参数
- -e
- Explain the correct score whenever the player makes a scoring mistake for a hand or crib.
- -q
- Quiet mode: print shorter prompts and messages.
- -r
- Have the program randomly cut the deck instead of prompting the player.
FAQ
What is the cribbage command used for?
cribbage is a text-based implementation of the classic cribbage card game from the bsdgames collection. The player competes against the computer, scoring points by forming combinations during play and in hand. Cards are selected for the crib, then played alternately trying to make pairs, runs, and reach 15 or 31. The first player to reach 121 points wins.
How do I run a basic cribbage example?
Run `cribbage` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -e do in cribbage?
Explain the correct score whenever the player makes a scoring mistake for a hand or crib.