Open Rules

Little Killer

Digits along the listed ray add up to the clue. Repeats are allowed by this rule.

Parameters

Parameter Meaning Default
cells The marked cells, for example r1c1-r1c2-r2c2. Required.
sum The total the digits or values must add up to. Required.

Maths

Class: with aggregates.

The shared predicates define the notation and every named predicate.

sum_D(cells)=sum

The digits along the supplied ray sum to sum. No distinctness is added.

Example

---
format: open-rules
title: Little Killer example
setter: Example
source: ""
case: ""
library: https://rules.sudoku-sleuth.com/
status: read
---

```rules
sudoku 9x9
little-killer r1c1-r1c2 sum 3
```

Satisfies the rule: r1c1=1, r1c2=2. The ray digits 1 and 2 total 3.

Breaks the rule: r1c1=1, r1c2=3. The ray digits 1 and 3 total 4 instead of 3.