All are nothing explainer by among us

Continuing the discussion from All or Nothing explainer:

The aim of this puzzle:

Walkthrough of the solution:

Sample code solution:

(Tap below to reveal)
image


JavaScript Concepts:

Grasshopper Concepts: