Fill in and unfill a box in a grid

I have no idea How to make this …. Fill in and unfill a box in a grid
Look page 3
Thank you from France

Here is a way to do it: click tiles on and off | Desmos

The harder part is writing the logic that will search for a specific shape like in that desmos lesson…

1 Like

Fabulous
Thanks so much