Draw every possible unique combination of a 3x3 circle grid with two colors

Are you solved it while I was typing!

Congratulations!

Chrisir

Thanks so much for your help!!!

OK, now house cleaning.

Write a function showOneConfig() that pretty much holds everything after this line:

    String binaryk = (binary(k, 9));

It gets the parameters showOneConfig ( binaryk , x, y );

Show this code here.

Then make a for-loop inside showOneConfig for each char so it’s more DRY.

(Or make 2 nested for-loops.)

:wink:

1 Like

Great work!

I am pleased to see that you worked through all of this.

I learned along the way as well! All that bit fiddling I did in the past is still part of me.

Every time you look at your code you will see something new to tweak.

Enjoy the journey!

:)

2 Likes