Feasibility of thesis prototype

I said already they can be matrixed in #21.

What i am asking is if 21 spots are occupied simultaneously, will there be no error in determining their positions? It is like pressing and holding 21 keys on a keyboard. Can the microcontroller differentiate each piece' position from each other and display it, for example, on an LCD, or on an LED Matrix?