Another point to clarify.
Must the rows be parallel, and in particular Y-G-R-B order?
OP seems to suggest this condition.
+-------------------------+
| |
| Y Y Y Y Y . . . |
| G G G . . . . . |
Door R R R R R R . . |
| B B B B B . . . |
| |
| |
+-------------------------+
Or could the rows e.g. all start at the middle of the room, and grow outward toward the four walls, in any sequence?
Say Yellow to the north, Green to the south, Red to the east and Blue to the west?
Yes...the raws should be as you mentioned in your diagram,but all should face one direction






