no you overlay arrays.
For example one array covers all the right diagonals. That means you allocate a score of, say 15, going diagonally from top left to bottom right. You allocate 13 doing the same in the squares next to it. 11 the next etc. Another array does the same the other way. Now you only have to total up the array scores that the pieces occupy and, with a bit of maths, you can determine if more than one is on the same line. You don't care which piece, which line, and where from but you have evaluated the whole board in one look. You never have to know where any piece was. You never have to create one for horizontals or verticals because they are never needed. All pieces are created on separate rows.