]>
git.r.bdr.sh - rbdr/corona-regeln/blob - lib/rules/group.js
909c378f36f449385b0a62b050e99f411948b0a2
15 'cryptocurrency miners',
22 'god fearing parishioners',
26 'lighthouse operators',
30 'classically trained musicians',
31 'food delivery drivers',
39 module
.exports
= () => {
41 const countA
= Math
.floor(Math
.random() * 8) + 2;
42 const magnitude
= Math
.random() > 0.5 ? 99 : 5;
43 const countB
= Math
.floor(Math
.random() * magnitude
) + 1;
44 const groupA
= internals
.groups
[Math
.floor(Math
.random() * internals
.groups
.length
)];
45 const groupB
= internals
.groups
[Math
.floor(Math
.random() * internals
.groups
.length
)];
49 text: `No more than ${countA} ${groupA} + ${countB} ${groupB} are allowed to meet`