]>
git.r.bdr.sh - rbdr/corona-regeln/blob - rules/group.js
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`