1pxg: Hold when black, release when white - with random successor and timer, and colored warnings

To conclude this exercise, I’d like to present you with the final bouquet. This is the most complex system of the series and features a new kind of warning state. Here it is:

[![Randomness everywhere!](https://i2.wp.com/www.bauger.net/wp-content/uploads/2008/09/12-hwb-rww-randomnexttime-coloredwarning.png?resize=429%2C908 "12-hwb-rww-randomnexttime-coloredwarning")](https://i2.wp.com/www.bauger.net/wp-content/uploads/2008/09/12-hwb-rww-randomnexttime-coloredwarning.png)Randomness everywhere!
Featuring random choices both in state timer lenght and state successor, this prototype flirts with the limits of the “hold” mechanic for the current constraints. It attempts to avoid the pitfalls encountered throughout the different prototypes by introducing warning states that give a hint to the next state.

But does more complex equals more fun? Check it out:

Click here to show/hide the prototype

That’s it for this series of prototypes. For the next exercise I will stick to just two colors (black and white) but will expand the input capabilities of the pixel class.

Thanks for sticking around!