Tetris like game puzzle

Yes, this is the solution of the puzzle.

Other combinations wouldn’t count as a fail.

No, there isn’t an instant fail mechanism.

The blocks will drop like on Tetris game and the player has to choose the correct one and place them in this way.

I’m only interested in detect when four blocks are placed in that way.

I hope I have clarified all your questions.

Thank you.