a simple function that based on the color sampled decides if you should stop or go. Similar to a die roll, it relies on chance to select the movement. Due to the sample space only being 2, the number input must be 1.
1 | stopgo(x)
|
input must be 1! returned value with either be STOP! or GO! None at the time Aira Contreras please, just use 1 stopgo(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.