User guide All lessons Cookbook Function reference Open playground

Open this document in the playground · Download source

Keep the faces until the rule is finished

Part C · L11 · Prerequisite: L10 · One modelling idea

Situation, question, and prediction

A Blades-style highest-die component reads the highest of three d6, not their sum. Can a total of 13 tell you whether two sixes were rolled? Predict how a sum and a maximum differ.

Build

dice_pool(3, 6) is a pool: three separate dice. .sum() reduces their faces to a total. .order_stat(1) selects the largest face: this API counts ranks from 1, unlike list indexing introduced later. Neither call mutates the original pool. .p_any(6) asks whether at least one die shows 6; L14 explores that query and its complement.

pool = dice_pool(3, 6)
output("Sum of three d6", pool.sum())
output("Highest of three d6", pool.order_stat(1))
output("Any six", pool.p_any(6))

Sum of three d6 · DieRoll · mean 10.500

outcome%fracX/216
30.461/2161
41.391/723
52.781/366
64.635/10810
76.945/7215
89.727/7221
911.625/21625
1012.51/827
1112.51/827
1211.625/21625
139.727/7221
146.945/7215
154.635/10810
162.781/366
171.391/723
180.461/2161

Highest of three d6 · DieRoll · mean 4.958

outcome%fracX/216
10.461/2161
23.247/2167
38.8019/21619
417.137/21637
528.261/21661
642.191/21691

Any six · Prob

outcome%fracX/216
Any six42.191/21691

Run, read, and check

The sum ranges 3–18 with mean 10.5. The highest ranges 1–6. Any six has probability 1 − (5/6)^3 = 91/216. A total alone loses information: (6, 6, 1) and (5, 4, 4) both total 13 but have different numbers of sixes.

Change one thing

Use two dice. Any six becomes 11/36, the sum has mean 7, and the highest still cannot exceed 6.

Try it yourself

Choose representations for: add damage dice; detect two sixes; name result bands. Answer: summed distribution; unsummed pool until the count is known; named outcomes after classifying. A total of 12 on three dice can be (6,5,1) or (4,4,4), not evidence of a critical.

Rules and model notes

Blades in the Dark, core system. Position describes consequences and is separate from the number of dice. No stress, resistance, or effect-level calculation here. This is deliberately not the complete action roll: criticals and zero dice arrive in L23.

What you now know / where next

Keep the faces until the rule is finished is the reusable idea. Follow the generated previous/next links below, or return to the course index. For a complete self-contained application, see blades-in-the-dark.

Content ID: L11 · Review status: pilot

Prerequisites: L10