Hmmm, yes, it can be compressed into that, but I use the wirepins-array to keep track of which cables are still active, so they can be ignored next time, to keep them from changing the state of result by re-connecting them.
I guess I could probably compress it by reading the state of all 8 wires into an array and use different code to verify that the first wire removed is pin 2 and ONLY pin 2. THEN pin 3...THEN pin 4 etc. The challenge lies in keeping track of what's cut and not, and how that affects the status of the bomb. Keeping track like I do now is working, and keeps track of wires removed and makes it impossible to reconnect them.
I just need to work out the order...
Tomorrow.