I am trying to identify the minigame used in the game Fontanero (the code for it is here). It consists of a 3x3 grid of squares, and each square is red or green. You can click on a square to invert the color of every square in the row and column of the square you clicked on. The goal of the game is to turn all of the squares a certain color. For example, if the board started like this:
--- --- ---
| r | g | r |
--- --- ---
| g | g | g |
--- --- ---
| r | g | r |
--- --- ---
and you clicked on the top left square, it would become this:
--- --- ---
| g | r | g |
--- --- ---
| r | g | g |
--- --- ---
| g | g | r |
--- --- ---
I am looking for the name of this game. Thank you in advance.