Honestly, the title probably doesn’t make much sense (I’m new to this), but I’m in a tough spot. I’m a student and one of our modules is processing, a quick 2-week stint. I literally had two classes on processing and we are left to our own devices to come up with something on our own.
What I have (or believe I have) is an array of on/off switches. What I’m trying to do is make one switch turn off, and in doing so turn on another. It’s essentially a never-ending “game”. The problem I’m facing right now is trying to get the code to make these switches communicate to each other by turning off one switch and turning on another, either randomly or defined.
Does anyone have any idea how to do this? I can try and explain things better if needed. I will include my code here. It is a mess I’m sure and constructed in an awful way, but its new to me. Any help would be appreciated, I just wish I had more time to get to learn p5/processing.