← 返回命令列表

Linux command

backgammon 命令

文本

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

常用示例

Start

backgammon

Example

backgammon -r

Example

backgammon -b

Restore

backgammon -s [savefile]

说明

backgammon is a classic text-based backgammon game from the BSD games collection. It provides a text-based interface for playing backgammon against the computer or another player. Players move checkers based on dice rolls, attempting to bear off all pieces before their opponent. The companion program teachgammon teaches the rules and strategy of backgammon.

参数

-n
Don't ask for rules or instructions
-r
Player is red (implies -n)
-w
Player is white (implies -n)
-b
Two-player mode, red and white (implies -n)
-pr
Print board before red's turn
-pw
Print board before white's turn
-pb
Print board before both players' turns
-t _term_
Specify terminal type
-s _file_
Restore a saved game from file

FAQ

What is the backgammon command used for?

backgammon is a classic text-based backgammon game from the BSD games collection. It provides a text-based interface for playing backgammon against the computer or another player. Players move checkers based on dice rolls, attempting to bear off all pieces before their opponent. The companion program teachgammon teaches the rules and strategy of backgammon.

How do I run a basic backgammon example?

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

What does -n do in backgammon?

Don't ask for rules or instructions