Just returning to the game that you are creating, you have shown 2 different type:
Type 1 in the OP where it appears that patch wires can go between any 2 sockets. Type 2 in later pictures seems to imply that the patch wires can go only from one group of 4 sockets into the other group of 4 sockets (which is an easier problem to solve).
Another way of implementing this without using special resistor values, and still identifying the wires used would be to have sockets like two pin audio sockets
In the plugs you'd build in a DS2401
serial number device which requires only 2 connections. That way, you would not even need to connect pairs of plugs with wires. You'd simply colour code them. 2 reds, 2 blues etc.