I am trying to figure a way out to make a Simon Says game on the CPX using blocks. I want to divide pixels into 4 sections, one for each of the colors (0-2 = red, 2-4 = blue, 5-7 = yellow, 7-9 = green), but I cannot figure a way to do that.
What I have is a way to add to the pattern and how to show the pattern (maybe).
Adafruit has an example of a code https://learn.adafruit.com/simon-game-clone-with-circuitplayground-express-and-circuitpython/light-design but I figure out how to translate to blocks.
Here is what I have so far:
Thank you in advance for any help!