MCPcopy Index your code
hub / github.com/TeaCoder52/patcode / patternAABBCC

Function patternAABBCC

src/patterns6.ts:8–11  ·  view source on GitHub ↗
(digits: string[], rng: () => number)

Source from the content-addressed store, hash-verified

6}
7
8export function patternAABBCC(digits: string[], rng: () => number): string {
9 const [A, B, C] = utils.pickThreeDifferentDigits(digits, rng)
10 return utils.fromDigits([A, A, B, B, C, C])
11}
12
13export function patternAAABBB(digits: string[], rng: () => number): string {
14 const [A, B] = utils.pickTwoDifferentDigits(digits, rng)

Callers

nothing calls this directly

Calls 2

fromDigitsMethod · 0.80

Tested by

no test coverage detected