Tiny Flow-Clone in Processing (For Desktop, not Phones/Mobile)

This tiny Flow clone, in just under 100 lines of Processing (~4000 characters). Click on a circle and drag a path to another circle of the same color. Once all circles are connected, you win! (Due to how click/drag works on phones, please play this on a computer)

The code uses a two dimensional array to encode the board, where zeros represent empty spots and other numbers represent the locations of circles. Negative numbers encode the “pipes”, or connections between circles.

You can edit and run this code on the KTBYTE Coder

Video tutorial for this code:

Leave a Reply

Your email address will not be published. Required fields are marked *