← 返回命令列表

Linux command

rolldice 命令

文本

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

常用示例

Example

rolldice d20

Example

rolldice 2d6s1

Example

rolldice 2d20+5

Example

rolldice 2xd20

说明

rolldice simulates rolling dice with various configurations. It supports standard dice notation used in tabletop gaming, including modifiers, dropping dice, and multiple rolls. The tool is useful for tabletop RPG players, game developers, or anyone needing random dice results.

参数

s_N_
Drop lowest N rolls
+_N_ or -_N_
Add or subtract modifier
x
Repeat roll multiple times

FAQ

What is the rolldice command used for?

rolldice simulates rolling dice with various configurations. It supports standard dice notation used in tabletop gaming, including modifiers, dropping dice, and multiple rolls. The tool is useful for tabletop RPG players, game developers, or anyone needing random dice results.

How do I run a basic rolldice example?

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

What does s_N_ do in rolldice?

Drop lowest N rolls